#F0D76F#F0D76F

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

Color values

HEX#F0D76F
RGBrgb(240, 215, 111)
HSLhsl(48, 81%, 69%)
HSVhsv(48, 54%, 94%)
CMYKcmyk(0%, 10.4%, 53.8%, 5.9%)
CIE-LABlab(86.14, -4.08, 53.82)
CIE-LCHlch(86.14, 53.98, 94.34°)
OKLaboklab(87.92% -0.0135 0.1266)
OKLCHoklch(87.92% 0.127 96.1)
XYZxyz(63.1072, 68.2765, 24.8904)
Luminance0.6827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D76F #6F88F0
analogous
#F0976F #F0D76F #C9F06F
triadic
#F0D76F #6FF0D7 #D76FF0
tetradic
#F0D76F #6FF097 #6F88F0 #F06FC9
square
#F0D76F #6FF097 #6F88F0 #F06FC9
split-complementary
#F0D76F #6FC9F0 #976FF0
monochromatic
#CFAB16 #EAC838 #F0D76F #F6E6A6 #FCF6DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0D76F#FFFFFF#000000##000000
##F0D76F1.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)
#E9D365
Deuteranopia (green-blind)
#F0DB73
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d76f;
/* rgb */ color: rgb(240, 215, 111);
/* oklch */ color: oklch(87.9% 0.127 96.1);
Tailwind
colors: {
  custom: {
    50: '#f7e39b',
    500: '#f0d76f',
    950: '#000000',
  },
}
SCSS
$custom: #f0d76f;
$custom-light: #f7e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d76f",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 111
  },
  "hsl": {
    "h": 48.372,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8792,
    "c": 0.12728,
    "h": 96.1
  },
  "luminance": 0.68274
}

Semantic roles & 50–950 ramp

primary
#F0D76F
secondary
#3A56C9
accent
#31DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D76F

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

Preview Lab → · Contrast checker → · Palette generator →

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