#F5DB72#F5DB72

#F5DB72 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.2% C 0.128 H 95.7°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#F5DB72
RGBrgb(245, 219, 114)
HSLhsl(48, 87%, 70%)
HSVhsv(48, 53%, 96%)
CMYKcmyk(0%, 10.6%, 53.5%, 3.9%)
CIE-LABlab(87.63, -3.84, 54.27)
CIE-LCHlch(87.63, 54.41, 94.05°)
OKLaboklab(89.21% -0.0128 0.1277)
OKLCHoklch(89.21% 0.128 95.7)
XYZxyz(66.0274, 71.2933, 26.1994)
Luminance0.7129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB72 #728CF5
analogous
#F59A72 #F5DB72 #CDF572
triadic
#F5DB72 #72F5DB #DB72F5
tetradic
#F5DB72 #72F59A #728CF5 #F572CD
square
#F5DB72 #72F59A #728CF5 #F572CD
split-complementary
#F5DB72 #72CDF5 #9A72F5
monochromatic
#DDB410 #F1CC39 #F5DB72 #F9EAAB #FDF8E2

Accessibility & contrast

On white

1.38
#F5DB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.26
#F5DB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB72
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB72#FFFFFF#000000##000000
##F5DB721.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD768
Deuteranopia (green-blind)
#F4DF76
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5db72;
/* rgb */ color: rgb(245, 219, 114);
/* oklch */ color: oklch(89.2% 0.128 95.7);
Tailwind
colors: {
  custom: {
    50: '#fbe59d',
    500: '#f5db72',
    950: '#000000',
  },
}
SCSS
$custom: #f5db72;
$custom-light: #fbe59d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db72",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 114
  },
  "hsl": {
    "h": 48.092,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89206,
    "c": 0.12838,
    "h": 95.7
  },
  "luminance": 0.7129
}

Semantic roles & 50–950 ramp

primary
#F5DB72
secondary
#3C59CF
accent
#2FE302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5DB72

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

Preview Lab → · Contrast checker → · Palette generator →

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