#F0DD6F#F0DD6F

#F0DD6F is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.1% C 0.132 H 99.7°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#F0DD6F
RGBrgb(240, 221, 111)
HSLhsl(51, 81%, 69%)
HSVhsv(51, 54%, 94%)
CMYKcmyk(0%, 7.9%, 53.8%, 5.9%)
CIE-LABlab(87.67, -7.11, 55.61)
CIE-LCHlch(87.67, 56.07, 97.29°)
OKLaboklab(89.13% -0.0222 0.1305)
OKLCHoklch(89.13% 0.132 99.7)
XYZxyz(64.6631, 71.3884, 25.4090)
Luminance0.7139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD6F #6F82F0
analogous
#F09D6F #F0DD6F #C3F06F
triadic
#F0DD6F #6FF0DD #DD6FF0
tetradic
#F0DD6F #6FF09D #6F82F0 #F06FC3
square
#F0DD6F #6FF09D #6F82F0 #F06FC3
split-complementary
#F0DD6F #6FC3F0 #9D6FF0
monochromatic
#CFB416 #EAD038 #F0DD6F #F6EAA6 #FCF7DE

Accessibility & contrast

On white

1.37
#F0DD6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#F0DD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD6F
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD6F#FFFFFF#000000##000000
##F0DD6F1.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD865
Deuteranopia (green-blind)
#F4DF74
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dd6f;
/* rgb */ color: rgb(240, 221, 111);
/* oklch */ color: oklch(89.1% 0.132 99.7);
Tailwind
colors: {
  custom: {
    50: '#f7e79b',
    500: '#f0dd6f',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd6f;
$custom-light: #f7e79b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd6f",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 111
  },
  "hsl": {
    "h": 51.163,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8913,
    "c": 0.13233,
    "h": 99.7
  },
  "luminance": 0.71386
}

Semantic roles & 50–950 ramp

primary
#F0DD6F
secondary
#3A4FC9
accent
#27DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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