#F0DF6C#F0DF6C

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

Color values

HEX#F0DF6C
RGBrgb(240, 223, 108)
HSLhsl(52, 81%, 68%)
HSVhsv(52, 55%, 94%)
CMYKcmyk(0%, 7.1%, 55%, 5.9%)
CIE-LABlab(88.15, -8.35, 57.55)
CIE-LCHlch(88.15, 58.15, 98.26°)
OKLaboklab(89.5% -0.0261 0.1343)
OKLCHoklch(89.5% 0.137 101)
XYZxyz(65.0318, 72.3858, 24.7307)
Luminance0.7238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF6C #6C7DF0
analogous
#F09D6C #F0DF6C #BFF06C
triadic
#F0DF6C #6CF0DF #DF6CF0
tetradic
#F0DF6C #6CF09D #6C7DF0 #F06CBF
square
#F0DF6C #6CF09D #6C7DF0 #F06CBF
split-complementary
#F0DF6C #6CBFF0 #9D6CF0
monochromatic
#CDB515 #EAD334 #F0DF6C #F6EBA4 #FBF7DB

Accessibility & contrast

On white

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

On black

15.48
#F0DF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF6C
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF6C#FFFFFF#000000##000000
##F0DF6C1.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D961
Deuteranopia (green-blind)
#F6E071
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df6c;
/* rgb */ color: rgb(240, 223, 108);
/* oklch */ color: oklch(89.5% 0.137 101.0);
Tailwind
colors: {
  custom: {
    50: '#f8e899',
    500: '#f0df6c',
    950: '#000000',
  },
}
SCSS
$custom: #f0df6c;
$custom-light: #f8e899;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df6c",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 108
  },
  "hsl": {
    "h": 52.273,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89501,
    "c": 0.13683,
    "h": 101
  },
  "luminance": 0.72383
}

Semantic roles & 50–950 ramp

primary
#F0DF6C
secondary
#384AC8
accent
#23DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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