#F0DD7A#F0DD7A

#F0DD7A is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.3% C 0.122 H 98.7°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#F0DD7A
RGBrgb(240, 221, 122)
HSLhsl(50, 80%, 71%)
HSVhsv(50, 49%, 94%)
CMYKcmyk(0%, 7.9%, 49.2%, 5.9%)
CIE-LABlab(87.80, -6.20, 50.58)
CIE-LCHlch(87.80, 50.96, 96.98°)
OKLaboklab(89.27% -0.0184 0.1204)
OKLCHoklch(89.27% 0.122 98.7)
XYZxyz(65.3065, 71.6457, 28.7975)
Luminance0.7164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD7A #7A8DF0
analogous
#F0A27A #F0DD7A #C8F07A
triadic
#F0DD7A #7AF0DD #DD7AF0
tetradic
#F0DD7A #7AF0A2 #7A8DF0 #F07AC8
square
#F0DD7A #7AF0A2 #7A8DF0 #F07AC8
split-complementary
#F0DD7A #7AC8F0 #A27AF0
monochromatic
#D7B918 #EACF43 #F0DD7A #F6EBB1 #FCF8E4

Accessibility & contrast

On white

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

On black

15.33
#F0DD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD7A
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD7A#FFFFFF#000000##000000
##F0DD7A1.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED871
Deuteranopia (green-blind)
#F3DF7E
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dd7a;
/* rgb */ color: rgb(240, 221, 122);
/* oklch */ color: oklch(89.3% 0.122 98.7);
Tailwind
colors: {
  custom: {
    50: '#f7e7a2',
    500: '#f0dd7a',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd7a;
$custom-light: #f7e7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd7a",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 122
  },
  "hsl": {
    "h": 50.339,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89269,
    "c": 0.12184,
    "h": 98.7
  },
  "luminance": 0.71643
}

Semantic roles & 50–950 ramp

primary
#F0DD7A
secondary
#445ACA
accent
#2BDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0DD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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