#F5DB76#F5DB76

#F5DB76 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.3% C 0.125 H 95.2°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#F5DB76
RGBrgb(245, 219, 118)
HSLhsl(48, 86%, 71%)
HSVhsv(48, 52%, 96%)
CMYKcmyk(0%, 10.6%, 51.8%, 3.9%)
CIE-LABlab(87.67, -3.52, 52.44)
CIE-LCHlch(87.67, 52.56, 93.84°)
OKLaboklab(89.26% -0.0114 0.1241)
OKLCHoklch(89.26% 0.125 95.2)
XYZxyz(66.2600, 71.3863, 27.4248)
Luminance0.7138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB76 #7690F5
analogous
#F59B76 #F5DB76 #CFF576
triadic
#F5DB76 #76F5DB #DB76F5
tetradic
#F5DB76 #76F59B #7690F5 #F576CF
square
#F5DB76 #76F59B #7690F5 #F576CF
split-complementary
#F5DB76 #76CFF5 #9B76F5
monochromatic
#E0B610 #F1CC3D #F5DB76 #F9EAAF #FDF8E2

Accessibility & contrast

On white

1.37
#F5DB76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#F5DB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB76
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB76#FFFFFF#000000##000000
##F5DB761.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76D
Deuteranopia (green-blind)
#F4DF7A
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5db76;
/* rgb */ color: rgb(245, 219, 118);
/* oklch */ color: oklch(89.3% 0.125 95.2);
Tailwind
colors: {
  custom: {
    50: '#fbe5a0',
    500: '#f5db76',
    950: '#000000',
  },
}
SCSS
$custom: #f5db76;
$custom-light: #fbe5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db76",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 118
  },
  "hsl": {
    "h": 47.717,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89257,
    "c": 0.12463,
    "h": 95.2
  },
  "luminance": 0.71384
}

Semantic roles & 50–950 ramp

primary
#F5DB76
secondary
#3F5DD0
accent
#31E303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5DB76

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

Preview Lab → · Contrast checker → · Palette generator →

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