#F5ED5E#F5ED5E

#F5ED5E is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.6% C 0.161 H 106.1°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#F5ED5E
RGBrgb(245, 237, 94)
HSLhsl(57, 88%, 66%)
HSVhsv(57, 62%, 96%)
CMYKcmyk(0%, 3.3%, 61.6%, 3.9%)
CIE-LABlab(92.04, -14.23, 68.04)
CIE-LCHlch(92.04, 69.51, 101.81°)
OKLaboklab(92.65% -0.0447 0.1549)
OKLCHoklch(92.65% 0.161 106.1)
XYZxyz(69.9632, 80.7913, 22.4964)
Luminance0.8079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED5E #5E66F5
analogous
#F5A25E #F5ED5E #B2F55E
triadic
#F5ED5E #5EF5ED #ED5EF5
tetradic
#F5ED5E #5EF5A2 #5E66F5 #F55EB2
square
#F5ED5E #5EF5A2 #5E66F5 #F55EB2
split-complementary
#F5ED5E #5EB2F5 #A25EF5
monochromatic
#CCC20D #F1E724 #F5ED5E #F9F398 #FCFAD1

Accessibility & contrast

On white

1.22
#F5ED5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#F5ED5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED5E
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED5E#FFFFFF#000000##000000
##F5ED5E1.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54D
Deuteranopia (green-blind)
#FFEB66
Tritanopia (blue-blind)
#FFDECF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ed5e;
/* rgb */ color: rgb(245, 237, 94);
/* oklch */ color: oklch(92.6% 0.161 106.1);
Tailwind
colors: {
  custom: {
    50: '#fcf292',
    500: '#f5ed5e',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed5e;
$custom-light: #fcf292;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed5e",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 94
  },
  "hsl": {
    "h": 56.821,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92646,
    "c": 0.1612,
    "h": 106.1
  },
  "luminance": 0.80789
}

Semantic roles & 50–950 ramp

primary
#F5ED5E
secondary
#2F37C8
accent
#0DE501
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F5ED5E

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

Preview Lab → · Contrast checker → · Palette generator →

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