#F5EA7D#F5EA7D

#F5EA7D is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.4% C 0.131 H 103.5°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#F5EA7D
RGBrgb(245, 234, 125)
HSLhsl(55, 86%, 73%)
HSVhsv(55, 49%, 96%)
CMYKcmyk(0%, 4.5%, 49%, 3.9%)
CIE-LABlab(91.57, -10.45, 53.80)
CIE-LCHlch(91.57, 54.81, 100.99°)
OKLaboklab(92.37% -0.0306 0.1277)
OKLCHoklch(92.37% 0.131 103.5)
XYZxyz(70.7826, 79.7410, 31.0610)
Luminance0.7974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA7D #7D88F5
analogous
#F5AE7D #F5EA7D #C4F57D
triadic
#F5EA7D #7DF5EA #EA7DF5
tetradic
#F5EA7D #7DF5AE #7D88F5 #F57DC4
square
#F5EA7D #7DF5AE #7D88F5 #F57DC4
split-complementary
#F5EA7D #7DC4F5 #AE7DF5
monochromatic
#E6D212 #F1E144 #F5EA7D #F9F3B6 #FDFAE3

Accessibility & contrast

On white

1.24
#F5EA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#F5EA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA7D
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA7D#FFFFFF#000000##000000
##F5EA7D1.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE373
Deuteranopia (green-blind)
#FFE982
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5ea7d;
/* rgb */ color: rgb(245, 234, 125);
/* oklch */ color: oklch(92.4% 0.131 103.5);
Tailwind
colors: {
  custom: {
    50: '#faf0a5',
    500: '#f5ea7d',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea7d;
$custom-light: #faf0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea7d",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 125
  },
  "hsl": {
    "h": 54.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9237,
    "c": 0.13131,
    "h": 103.5
  },
  "luminance": 0.79739
}

Semantic roles & 50–950 ramp

primary
#F5EA7D
secondary
#4652D1
accent
#18E203
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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