#F5E15E#F5E15E

#F5E15E is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.2% C 0.150 H 100.6°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#F5E15E
RGBrgb(245, 225, 94)
HSLhsl(52, 88%, 66%)
HSVhsv(52, 62%, 96%)
CMYKcmyk(0%, 8.2%, 61.6%, 3.9%)
CIE-LABlab(88.96, -8.29, 64.72)
CIE-LCHlch(88.96, 65.25, 97.30°)
OKLaboklab(90.2% -0.0278 0.1478)
OKLCHoklch(90.2% 0.15 100.6)
XYZxyz(66.6044, 74.0738, 21.3768)
Luminance0.7407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E15E #5E72F5
analogous
#F5965E #F5E15E #BEF55E
triadic
#F5E15E #5EF5E1 #E15EF5
tetradic
#F5E15E #5EF596 #5E72F5 #F55EBE
square
#F5E15E #5EF596 #5E72F5 #F55EBE
split-complementary
#F5E15E #5EBEF5 #965EF5
monochromatic
#CCB30D #F1D624 #F5E15E #F9EC98 #FCF6D1

Accessibility & contrast

On white

1.33
#F5E15E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#F5E15E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E15E
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E15E#FFFFFF#000000##000000
##F5E15E1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB4F
Deuteranopia (green-blind)
#FAE365
Tritanopia (blue-blind)
#FFD2C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5e15e;
/* rgb */ color: rgb(245, 225, 94);
/* oklch */ color: oklch(90.2% 0.150 100.6);
Tailwind
colors: {
  custom: {
    50: '#fcea91',
    500: '#f5e15e',
    950: '#000000',
  },
}
SCSS
$custom: #f5e15e;
$custom-light: #fcea91;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e15e",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 94
  },
  "hsl": {
    "h": 52.053,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90197,
    "c": 0.15043,
    "h": 100.6
  },
  "luminance": 0.74071
}

Semantic roles & 50–950 ramp

primary
#F5E15E
secondary
#2F43C8
accent
#1FE501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E15E

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

Preview Lab → · Contrast checker → · Palette generator →

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