#F5EA7B#F5EA7B

#F5EA7B is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.3% C 0.133 H 103.6°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#F5EA7B
RGBrgb(245, 234, 123)
HSLhsl(55, 86%, 72%)
HSVhsv(55, 50%, 96%)
CMYKcmyk(0%, 4.5%, 49.8%, 3.9%)
CIE-LABlab(91.55, -10.62, 54.71)
CIE-LCHlch(91.55, 55.73, 100.98°)
OKLaboklab(92.34% -0.0313 0.1295)
OKLCHoklch(92.34% 0.133 103.6)
XYZxyz(70.6561, 79.6904, 30.3949)
Luminance0.7969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA7B #7B86F5
analogous
#F5AD7B #F5EA7B #C3F57B
triadic
#F5EA7B #7BF5EA #EA7BF5
tetradic
#F5EA7B #7BF5AD #7B86F5 #F57BC3
square
#F5EA7B #7BF5AD #7B86F5 #F57BC3
split-complementary
#F5EA7B #7BC3F5 #AD7BF5
monochromatic
#E4D111 #F1E142 #F5EA7B #F9F3B4 #FDFAE3

Accessibility & contrast

On white

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

On black

16.94
#F5EA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA7B
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA7B#FFFFFF#000000##000000
##F5EA7B1.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE371
Deuteranopia (green-blind)
#FFE980
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f5ea7b;
/* rgb */ color: rgb(245, 234, 123);
/* oklch */ color: oklch(92.3% 0.133 103.6);
Tailwind
colors: {
  custom: {
    50: '#fbf0a4',
    500: '#f5ea7b',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea7b;
$custom-light: #fbf0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea7b",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 123
  },
  "hsl": {
    "h": 54.59,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92344,
    "c": 0.13325,
    "h": 103.6
  },
  "luminance": 0.79688
}

Semantic roles & 50–950 ramp

primary
#F5EA7B
secondary
#4450D0
accent
#17E203
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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