#F0D76E#F0D76E

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

Color values

HEX#F0D76E
RGBrgb(240, 215, 110)
HSLhsl(48, 81%, 69%)
HSVhsv(48, 54%, 94%)
CMYKcmyk(0%, 10.4%, 54.2%, 5.9%)
CIE-LABlab(86.13, -4.16, 54.28)
CIE-LCHlch(86.13, 54.44, 94.38°)
OKLaboklab(87.91% -0.0138 0.1275)
OKLCHoklch(87.91% 0.128 96.2)
XYZxyz(63.0524, 68.2546, 24.6021)
Luminance0.6825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D76E #6E87F0
analogous
#F0966E #F0D76E #C8F06E
triadic
#F0D76E #6EF0D7 #D76EF0
tetradic
#F0D76E #6EF096 #6E87F0 #F06EC8
square
#F0D76E #6EF096 #6E87F0 #F06EC8
split-complementary
#F0D76E #6EC8F0 #966EF0
monochromatic
#CEAB15 #EAC837 #F0D76E #F6E6A5 #FBF6DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0D76E#FFFFFF#000000##000000
##F0D76E1.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)
#E9D364
Deuteranopia (green-blind)
#F0DB73
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d76e;
/* rgb */ color: rgb(240, 215, 110);
/* oklch */ color: oklch(87.9% 0.128 96.2);
Tailwind
colors: {
  custom: {
    50: '#f7e39a',
    500: '#f0d76e',
    950: '#000000',
  },
}
SCSS
$custom: #f0d76e;
$custom-light: #f7e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d76e",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 110
  },
  "hsl": {
    "h": 48.462,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87907,
    "c": 0.1282,
    "h": 96.2
  },
  "luminance": 0.68252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0D76E

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

Preview Lab → · Contrast checker → · Palette generator →

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