#F5EA5C#F5EA5C

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

Color values

HEX#F5EA5C
RGBrgb(245, 234, 92)
HSLhsl(56, 88%, 66%)
HSVhsv(56, 62%, 96%)
CMYKcmyk(0%, 4.5%, 62.4%, 3.9%)
CIE-LABlab(91.25, -12.88, 68.01)
CIE-LCHlch(91.25, 69.22, 100.72°)
OKLaboklab(92.01% -0.0411 0.1545)
OKLCHoklch(92.01% 0.16 104.9)
XYZxyz(69.0133, 79.0333, 21.7428)
Luminance0.7903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA5C #5C67F5
analogous
#F59D5C #F5EA5C #B3F55C
triadic
#F5EA5C #5CF5EA #EA5CF5
tetradic
#F5EA5C #5CF59D #5C67F5 #F55CB3
square
#F5EA5C #5CF59D #5C67F5 #F55CB3
split-complementary
#F5EA5C #5CB3F5 #9D5CF5
monochromatic
#CABD0C #F1E322 #F5EA5C #F9F196 #FCF9CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5EA5C#FFFFFF#000000##000000
##F5EA5C1.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)
#FDE24B
Deuteranopia (green-blind)
#FFE964
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5ea5c;
/* rgb */ color: rgb(245, 234, 92);
/* oklch */ color: oklch(92.0% 0.160 104.9);
Tailwind
colors: {
  custom: {
    50: '#fcf090',
    500: '#f5ea5c',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea5c;
$custom-light: #fcf090;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea5c",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 92
  },
  "hsl": {
    "h": 55.686,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.92013,
    "c": 0.1599,
    "h": 104.9
  },
  "luminance": 0.79031
}

Semantic roles & 50–950 ramp

primary
#F5EA5C
secondary
#2F3AC6
accent
#11E500
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F5EA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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