#F0DD6A#F0DD6A

#F0DD6A is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.1% C 0.137 H 100.0°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#F0DD6A
RGBrgb(240, 221, 106)
HSLhsl(51, 82%, 68%)
HSVhsv(51, 56%, 94%)
CMYKcmyk(0%, 7.9%, 55.8%, 5.9%)
CIE-LABlab(87.62, -7.50, 57.85)
CIE-LCHlch(87.62, 58.33, 97.39°)
OKLaboklab(89.07% -0.0239 0.1348)
OKLCHoklch(89.07% 0.137 100)
XYZxyz(64.3954, 71.2813, 23.9995)
Luminance0.7128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD6A #6A7DF0
analogous
#F09A6A #F0DD6A #C0F06A
triadic
#F0DD6A #6AF0DD #DD6AF0
tetradic
#F0DD6A #6AF09A #6A7DF0 #F06AC0
square
#F0DD6A #6AF09A #6A7DF0 #F06AC0
split-complementary
#F0DD6A #6AC0F0 #9A6AF0
monochromatic
#CBB114 #EAD032 #F0DD6A #F6EAA2 #FBF6D9

Accessibility & contrast

On white

1.38
#F0DD6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.26
#F0DD6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD6A
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD6A#FFFFFF#000000##000000
##F0DD6A1.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD75F
Deuteranopia (green-blind)
#F5DF6F
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dd6a;
/* rgb */ color: rgb(240, 221, 106);
/* oklch */ color: oklch(89.1% 0.137 100.0);
Tailwind
colors: {
  custom: {
    50: '#f8e798',
    500: '#f0dd6a',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd6a;
$custom-light: #f8e798;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd6a",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 106
  },
  "hsl": {
    "h": 51.493,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89072,
    "c": 0.13685,
    "h": 100
  },
  "luminance": 0.71279
}

Semantic roles & 50–950 ramp

primary
#F0DD6A
secondary
#364BC8
accent
#26DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DD6A

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

Preview Lab → · Contrast checker → · Palette generator →

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