#F0D24F#F0D24F

#F0D24F is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.6% C 0.150 H 96.1°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#F0D24F
RGBrgb(240, 210, 79)
HSLhsl(49, 84%, 63%)
HSVhsv(49, 67%, 94%)
CMYKcmyk(0%, 12.5%, 67.1%, 5.9%)
CIE-LABlab(84.58, -3.67, 66.15)
CIE-LCHlch(84.58, 66.25, 93.18°)
OKLaboklab(86.59% -0.016 0.1488)
OKLCHoklch(86.59% 0.15 96.1)
XYZxyz(60.3959, 65.1860, 16.7966)
Luminance0.6518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D24F #4F6DF0
analogous
#F0824F #F0D24F #BDF04F
triadic
#F0D24F #4FF0D2 #D24FF0
tetradic
#F0D24F #4FF082 #4F6DF0 #F04FBD
square
#F0D24F #4FF082 #4F6DF0 #F04FBD
split-complementary
#F0D24F #4FBDF0 #824FF0
monochromatic
#B5960F #EBC417 #F0D24F #F5E087 #FAEFC0

Accessibility & contrast

On white

1.50
#F0D24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#F0D24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D24F
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D24F#FFFFFF#000000##000000
##F0D24F1.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE3E
Deuteranopia (green-blind)
#EED756
Tritanopia (blue-blind)
#FFC3B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d24f;
/* rgb */ color: rgb(240, 210, 79);
/* oklch */ color: oklch(86.6% 0.150 96.1);
Tailwind
colors: {
  custom: {
    50: '#f9df87',
    500: '#f0d24f',
    950: '#000000',
  },
}
SCSS
$custom: #f0d24f;
$custom-light: #f9df87;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d24f",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 48.82,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.86586,
    "c": 0.14962,
    "h": 96.1
  },
  "luminance": 0.65183
}

Semantic roles & 50–950 ramp

primary
#F0D24F
secondary
#2F48B5
accent
#2EE105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D24F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F0D24F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva