#F0DF62#F0DF62

#F0DF62 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.4% C 0.145 H 101.6°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#F0DF62
RGBrgb(240, 223, 98)
HSLhsl(53, 83%, 66%)
HSVhsv(53, 59%, 94%)
CMYKcmyk(0%, 7.1%, 59.2%, 5.9%)
CIE-LABlab(88.06, -9.07, 61.90)
CIE-LCHlch(88.06, 62.56, 98.34°)
OKLaboklab(89.39% -0.0293 0.1425)
OKLCHoklch(89.39% 0.145 101.6)
XYZxyz(64.5298, 72.1850, 22.0869)
Luminance0.7218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF62 #6273F0
analogous
#F09862 #F0DF62 #BAF062
triadic
#F0DF62 #62F0DF #DF62F0
tetradic
#F0DF62 #62F098 #6273F0 #F062BA
square
#F0DF62 #62F098 #6273F0 #F062BA
split-complementary
#F0DF62 #62BAF0 #9862F0
monochromatic
#C5AF13 #EBD42A #F0DF62 #F5EA9A #FBF6D2

Accessibility & contrast

On white

1.36
#F0DF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#F0DF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF62
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF62#FFFFFF#000000##000000
##F0DF621.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D954
Deuteranopia (green-blind)
#F7E068
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df62;
/* rgb */ color: rgb(240, 223, 98);
/* oklch */ color: oklch(89.4% 0.145 101.6);
Tailwind
colors: {
  custom: {
    50: '#f8e893',
    500: '#f0df62',
    950: '#000000',
  },
}
SCSS
$custom: #f0df62;
$custom-light: #f8e893;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df62",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 98
  },
  "hsl": {
    "h": 52.817,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.89394,
    "c": 0.14546,
    "h": 101.6
  },
  "luminance": 0.72182
}

Semantic roles & 50–950 ramp

primary
#F0DF62
secondary
#3445C2
accent
#20DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0DF62

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

Preview Lab → · Contrast checker → · Palette generator →

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