#F0DF76#F0DF76

#F0DF76 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.6% C 0.128 H 100.3°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#F0DF76
RGBrgb(240, 223, 118)
HSLhsl(52, 80%, 70%)
HSVhsv(52, 51%, 94%)
CMYKcmyk(0%, 7.1%, 50.8%, 5.9%)
CIE-LABlab(88.26, -7.55, 53.04)
CIE-LCHlch(88.26, 53.58, 98.10°)
OKLaboklab(89.62% -0.0227 0.1255)
OKLCHoklch(89.62% 0.128 100.3)
XYZxyz(65.5949, 72.6110, 27.6961)
Luminance0.7261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF76 #7687F0
analogous
#F0A276 #F0DF76 #C4F076
triadic
#F0DF76 #76F0DF #DF76F0
tetradic
#F0DF76 #76F0A2 #7687F0 #F076C4
square
#F0DF76 #76F0A2 #7687F0 #F076C4
split-complementary
#F0DF76 #76C4F0 #A276F0
monochromatic
#D4BA17 #EAD23F #F0DF76 #F6ECAD #FCF9E3

Accessibility & contrast

On white

1.35
#F0DF76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#F0DF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF76
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF76#FFFFFF#000000##000000
##F0DF761.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6D
Deuteranopia (green-blind)
#F5E07B
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df76;
/* rgb */ color: rgb(240, 223, 118);
/* oklch */ color: oklch(89.6% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#f7e8a0',
    500: '#f0df76',
    950: '#000000',
  },
}
SCSS
$custom: #f0df76;
$custom-light: #f7e8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df76",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 118
  },
  "hsl": {
    "h": 51.639,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89622,
    "c": 0.12754,
    "h": 100.3
  },
  "luminance": 0.72609
}

Semantic roles & 50–950 ramp

primary
#F0DF76
secondary
#4154CA
accent
#26DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0DF76

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

Preview Lab → · Contrast checker → · Palette generator →

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