#F0DB76#F0DB76

#F0DB76 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.8% C 0.124 H 97.8°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#F0DB76
RGBrgb(240, 219, 118)
HSLhsl(50, 80%, 70%)
HSVhsv(50, 51%, 94%)
CMYKcmyk(0%, 8.8%, 50.8%, 5.9%)
CIE-LABlab(87.24, -5.53, 51.82)
CIE-LCHlch(87.24, 52.11, 96.09°)
OKLaboklab(88.81% -0.0169 0.1228)
OKLCHoklch(88.81% 0.124 97.8)
XYZxyz(64.5388, 70.4988, 27.3441)
Luminance0.7050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB76 #768BF0
analogous
#F09E76 #F0DB76 #C8F076
triadic
#F0DB76 #76F0DB #DB76F0
tetradic
#F0DB76 #76F09E #768BF0 #F076C8
square
#F0DB76 #76F09E #768BF0 #F076C8
split-complementary
#F0DB76 #76C8F0 #9E76F0
monochromatic
#D4B417 #EACD3F #F0DB76 #F6E9AD #FCF8E3

Accessibility & contrast

On white

1.39
#F0DB76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.10
#F0DB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB76
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB76#FFFFFF#000000##000000
##F0DB761.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66D
Deuteranopia (green-blind)
#F2DE7A
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0db76;
/* rgb */ color: rgb(240, 219, 118);
/* oklch */ color: oklch(88.8% 0.124 97.8);
Tailwind
colors: {
  custom: {
    50: '#f7e5a0',
    500: '#f0db76',
    950: '#000000',
  },
}
SCSS
$custom: #f0db76;
$custom-light: #f7e5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db76",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 118
  },
  "hsl": {
    "h": 49.672,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88813,
    "c": 0.12399,
    "h": 97.8
  },
  "luminance": 0.70496
}

Semantic roles & 50–950 ramp

primary
#F0DB76
secondary
#4158CA
accent
#2DDD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0DB76

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

Preview Lab → · Contrast checker → · Palette generator →

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