#F0DB72#F0DB72

#F0DB72 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.8% C 0.128 H 98.2°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#F0DB72
RGBrgb(240, 219, 114)
HSLhsl(50, 81%, 69%)
HSVhsv(50, 53%, 94%)
CMYKcmyk(0%, 8.8%, 52.5%, 5.9%)
CIE-LABlab(87.20, -5.87, 53.66)
CIE-LCHlch(87.20, 53.97, 96.24°)
OKLaboklab(88.76% -0.0183 0.1265)
OKLCHoklch(88.76% 0.128 98.2)
XYZxyz(64.3061, 70.4058, 26.1187)
Luminance0.7040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB72 #7287F0
analogous
#F09C72 #F0DB72 #C6F072
triadic
#F0DB72 #72F0DB #DB72F0
tetradic
#F0DB72 #72F09C #7287F0 #F072C6
square
#F0DB72 #72F09C #7287F0 #F072C6
split-complementary
#F0DB72 #72C6F0 #9C72F0
monochromatic
#D1B216 #EACD3B #F0DB72 #F6E9A9 #FCF7E1

Accessibility & contrast

On white

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

On black

15.08
#F0DB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB72
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB72#FFFFFF#000000##000000
##F0DB721.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD668
Deuteranopia (green-blind)
#F2DE77
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db72;
/* rgb */ color: rgb(240, 219, 114);
/* oklch */ color: oklch(88.8% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#f7e59d',
    500: '#f0db72',
    950: '#000000',
  },
}
SCSS
$custom: #f0db72;
$custom-light: #f7e59d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db72",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 114
  },
  "hsl": {
    "h": 50,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88762,
    "c": 0.1278,
    "h": 98.2
  },
  "luminance": 0.70403
}

Semantic roles & 50–950 ramp

primary
#F0DB72
secondary
#3D54C9
accent
#2CDD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #F0DB72

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

Preview Lab → · Contrast checker → · Palette generator →

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