#F0D76D#F0D76D

#F0D76D is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.129 H 96.3°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#F0D76D
RGBrgb(240, 215, 109)
HSLhsl(49, 81%, 68%)
HSVhsv(49, 55%, 94%)
CMYKcmyk(0%, 10.4%, 54.6%, 5.9%)
CIE-LABlab(86.12, -4.24, 54.73)
CIE-LCHlch(86.12, 54.90, 94.43°)
OKLaboklab(87.9% -0.0142 0.1283)
OKLCHoklch(87.9% 0.129 96.3)
XYZxyz(62.9983, 68.2330, 24.3169)
Luminance0.6823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D76D #6D86F0
analogous
#F0956D #F0D76D #C7F06D
triadic
#F0D76D #6DF0D7 #D76DF0
tetradic
#F0D76D #6DF095 #6D86F0 #F06DC7
square
#F0D76D #6DF095 #6D86F0 #F06DC7
split-complementary
#F0D76D #6DC7F0 #956DF0
monochromatic
#CDAA15 #EAC836 #F0D76D #F6E6A4 #FBF5DC

Accessibility & contrast

On white

1.43
#F0D76D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#F0D76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D76D
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D76D#FFFFFF#000000##000000
##F0D76D1.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D363
Deuteranopia (green-blind)
#F0DB72
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d76d;
/* rgb */ color: rgb(240, 215, 109);
/* oklch */ color: oklch(87.9% 0.129 96.3);
Tailwind
colors: {
  custom: {
    50: '#f8e39a',
    500: '#f0d76d',
    950: '#000000',
  },
}
SCSS
$custom: #f0d76d;
$custom-light: #f8e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d76d",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 109
  },
  "hsl": {
    "h": 48.55,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87895,
    "c": 0.12912,
    "h": 96.3
  },
  "luminance": 0.6823
}

Semantic roles & 50–950 ramp

primary
#F0D76D
secondary
#3954C9
accent
#31DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D76D

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

Preview Lab → · Contrast checker → · Palette generator →

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