#F0DF6E#F0DF6E

#F0DF6E is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.5% C 0.135 H 100.9°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#F0DF6E
RGBrgb(240, 223, 110)
HSLhsl(52, 81%, 69%)
HSVhsv(52, 54%, 94%)
CMYKcmyk(0%, 7.1%, 54.2%, 5.9%)
CIE-LABlab(88.17, -8.20, 56.66)
CIE-LCHlch(88.17, 57.25, 98.23°)
OKLaboklab(89.52% -0.0254 0.1326)
OKLCHoklch(89.52% 0.135 100.9)
XYZxyz(65.1395, 72.4288, 25.2977)
Luminance0.7243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF6E #6E7FF0
analogous
#F09E6E #F0DF6E #C0F06E
triadic
#F0DF6E #6EF0DF #DF6EF0
tetradic
#F0DF6E #6EF09E #6E7FF0 #F06EC0
square
#F0DF6E #6EF09E #6E7FF0 #F06EC0
split-complementary
#F0DF6E #6EC0F0 #9E6EF0
monochromatic
#CEB615 #EAD337 #F0DF6E #F6EBA5 #FBF7DD

Accessibility & contrast

On white

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

On black

15.49
#F0DF6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF6E
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF6E#FFFFFF#000000##000000
##F0DF6E1.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D963
Deuteranopia (green-blind)
#F6E073
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df6e;
/* rgb */ color: rgb(240, 223, 110);
/* oklch */ color: oklch(89.5% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#f7e89b',
    500: '#f0df6e',
    950: '#000000',
  },
}
SCSS
$custom: #f0df6e;
$custom-light: #f7e89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df6e",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 110
  },
  "hsl": {
    "h": 52.154,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.89524,
    "c": 0.13503,
    "h": 100.9
  },
  "luminance": 0.72426
}

Semantic roles & 50–950 ramp

primary
#F0DF6E
secondary
#394CC9
accent
#24DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DF6E

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

Preview Lab → · Contrast checker → · Palette generator →

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