# #f0c420 color: Moon Yellow

#f0c420 is rgb(240, 196, 32) in RGB and oklch(83.523% 0.1649 91.67) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/f0c420

## Formats

| Format | Value |
| --- | --- |
| HEX | #f0c420 |
| RGB | rgb(240, 196, 32) |
| HSL | hsl(47.31, 87.39%, 53.33%) |
| HSB / HSV | hsv(47.31 86.67% 94.12%) |
| HWB | hwb(47.31 12.55% 5.88%) |
| CMYK | cmyk(0% 18% 87% 6%) |
| Lab | lab(81.32 6.11 77.45) |
| LCH | lch(81.32 77.69 85.49) |
| OKLab | oklab(83.523% -0.00481 0.16483) |
| OKLCH | oklch(83.523% 0.1649 91.67) |
| Display P3 | color(display-p3 0.91364 0.77518 0.28919) |
| Rec. 2020 | color(rec2020 0.85431 0.75294 0.24503) |
| Adobe RGB | color(a98-rgb 0.89337 0.76324 0.22215) |
| ProPhoto RGB | color(prophoto-rgb 0.78411 0.73055 0.26591) |
| Linear sRGB | color(srgb-linear 0.87137 0.55201 0.01444) |
| XYZ D65 | color(xyz-d65 0.55934 0.58111 0.09637) |
| XYZ D50 | color(xyz-d50 0.59465 0.59048 0.07604) |
| SwiftUI | Color(red: 0.941, green: 0.769, blue: 0.125) |
| UIKit | UIColor(red: 0.941, green: 0.769, blue: 0.125, alpha: 1) |
| Flutter / Compose | Color(0xFFF0C420) |
| Android XML | #F0C420 |

## Facts

- Closest name: Moon Yellow
- Hue family: Yellow, bright light yellow
- Closest Tailwind class: amber-400
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 1.66:1
- Contrast with black: 12.62:1

## Tints

#f0c420, #f2ca4a, #f3d165, #f5d77c, #f6dd91, #f8e3a5, #f9e9b7, #fbeeca, #fcf4dc, #fefaed

## Shades

#f0c420, #d1aa1a, #b29115, #95780f, #78610a, #5d4a06, #433503, #2a2101, #140e00, #030200

## Tones

#f0c420, #ecc543, #e8c65a, #e4c76c, #e0c77c, #dcc88b, #d8c898, #d5c9a5, #d1c9b1, #cdc9bd

## Harmonies

- Complementary: #f0c420, #b1c5ff
- Split: #f0c420, #82d2ff, #d8b5ff
- Analogous: #f0c420, #ffb25f, #b8d951
- Triadic: #f0c420, #00e4ff, #ff9ef9
- Tetradic: #f0c420, #69e791, #b1c5ff, #ff9ef9
- Square: #f0c420, #00ebd0, #b1c5ff, #ffa6c3
- Monochromatic: #f0c420, #9d7a00, #c99d00, #ffee90, #fff4a7

## Questions about #f0c420

### What color is #f0c420?

#f0c420 is bright light yellow. The closest named color is Moon Yellow. In RGB it is rgb(240, 196, 32), in HSL hsl(47.31, 87.39%, 53.33%) and in OKLCH oklch(83.523% 0.1649 91.67).

### What colors go well with #f0c420?

The complementary color of #f0c420 is #b1c5ff. For a calmer combination use the analogous colors #ffb25f and #b8d951. The triadic partners are #00e4ff and #ff9ef9.

### Is white or black text more readable on #f0c420?

Black text reads better on #f0c420: white gives a contrast ratio of 1.66:1 and black gives 12.62:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #f0c420 a warm or cool color?

#f0c420 is a warm color. In OKLCH its hue is 92 degrees, its lightness 83.5% and its chroma 0.165.
