#F5EA5E#F5EA5E

#F5EA5E is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.0% C 0.158 H 104.8°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#F5EA5E
RGBrgb(245, 234, 94)
HSLhsl(56, 88%, 66%)
HSVhsv(56, 62%, 96%)
CMYKcmyk(0%, 4.5%, 61.6%, 3.9%)
CIE-LABlab(91.27, -12.76, 67.21)
CIE-LCHlch(91.27, 68.41, 100.75°)
OKLaboklab(92.03% -0.0405 0.1531)
OKLCHoklch(92.03% 0.158 104.8)
XYZxyz(69.1019, 79.0687, 22.2093)
Luminance0.7907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA5E #5E69F5
analogous
#F59F5E #F5EA5E #B5F55E
triadic
#F5EA5E #5EF5EA #EA5EF5
tetradic
#F5EA5E #5EF59F #5E69F5 #F55EB5
square
#F5EA5E #5EF59F #5E69F5 #F55EB5
split-complementary
#F5EA5E #5EB5F5 #9F5EF5
monochromatic
#CCBE0D #F1E224 #F5EA5E #F9F298 #FCF9D1

Accessibility & contrast

On white

1.25
#F5EA5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#F5EA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA5E
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA5E#FFFFFF#000000##000000
##F5EA5E1.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE24D
Deuteranopia (green-blind)
#FFE966
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5ea5e;
/* rgb */ color: rgb(245, 234, 94);
/* oklch */ color: oklch(92.0% 0.158 104.8);
Tailwind
colors: {
  custom: {
    50: '#fcf091',
    500: '#f5ea5e',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea5e;
$custom-light: #fcf091;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea5e",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 94
  },
  "hsl": {
    "h": 55.629,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92031,
    "c": 0.15839,
    "h": 104.8
  },
  "luminance": 0.79066
}

Semantic roles & 50–950 ramp

primary
#F5EA5E
secondary
#2F3AC8
accent
#11E501
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F5EA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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