#F5EA7A#F5EA7A

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

Color values

HEX#F5EA7A
RGBrgb(245, 234, 122)
HSLhsl(55, 86%, 72%)
HSVhsv(55, 50%, 96%)
CMYKcmyk(0%, 4.5%, 50.2%, 3.9%)
CIE-LABlab(91.53, -10.70, 55.17)
CIE-LCHlch(91.53, 56.19, 100.98°)
OKLaboklab(92.33% -0.0317 0.1304)
OKLCHoklch(92.33% 0.134 103.6)
XYZxyz(70.5938, 79.6655, 30.0669)
Luminance0.7966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA7A #7A85F5
analogous
#F5AD7A #F5EA7A #C3F57A
triadic
#F5EA7A #7AF5EA #EA7AF5
tetradic
#F5EA7A #7AF5AD #7A85F5 #F57AC3
square
#F5EA7A #7AF5AD #7A85F5 #F57AC3
split-complementary
#F5EA7A #7AC3F5 #AD7AF5
monochromatic
#E3D111 #F1E141 #F5EA7A #F9F3B3 #FDFBE3

Accessibility & contrast

On white

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

On black

16.93
#F5EA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA7A
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA7A#FFFFFF#000000##000000
##F5EA7A1.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5ea7a;
/* rgb */ color: rgb(245, 234, 122);
/* oklch */ color: oklch(92.3% 0.134 103.6);
Tailwind
colors: {
  custom: {
    50: '#fbf0a3',
    500: '#f5ea7a',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea7a;
$custom-light: #fbf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea7a",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 122
  },
  "hsl": {
    "h": 54.634,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92332,
    "c": 0.13421,
    "h": 103.6
  },
  "luminance": 0.79663
}

Semantic roles & 50–950 ramp

primary
#F5EA7A
secondary
#4350D0
accent
#17E303
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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