#F5E15F#F5E15F

#F5E15F 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.82:1 contrast (WCAG AA passes).

Color values

HEX#F5E15F
RGBrgb(245, 225, 95)
HSLhsl(52, 88%, 67%)
HSVhsv(52, 61%, 96%)
CMYKcmyk(0%, 8.2%, 61.2%, 3.9%)
CIE-LABlab(88.97, -8.23, 64.31)
CIE-LCHlch(88.97, 64.83, 97.29°)
OKLaboklab(90.21% -0.0275 0.1471)
OKLCHoklch(90.21% 0.15 100.6)
XYZxyz(66.6496, 74.0919, 21.6147)
Luminance0.7409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E15F #5F73F5
analogous
#F5965F #F5E15F #BEF55F
triadic
#F5E15F #5FF5E1 #E15FF5
tetradic
#F5E15F #5FF596 #5F73F5 #F55FBE
square
#F5E15F #5FF596 #5F73F5 #F55FBE
split-complementary
#F5E15F #5FBEF5 #965FF5
monochromatic
#CDB30D #F1D625 #F5E15F #F9EC99 #FCF7D2

Accessibility & contrast

On white

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

On black

15.82
#F5E15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E15F
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E15F#FFFFFF#000000##000000
##F5E15F1.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e15f;
/* rgb */ color: rgb(245, 225, 95);
/* oklch */ color: oklch(90.2% 0.150 100.6);
Tailwind
colors: {
  custom: {
    50: '#fcea91',
    500: '#f5e15f',
    950: '#000000',
  },
}
SCSS
$custom: #f5e15f;
$custom-light: #fcea91;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e15f",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 95
  },
  "hsl": {
    "h": 52,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90207,
    "c": 0.14965,
    "h": 100.6
  },
  "luminance": 0.74089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5E15F

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

Preview Lab → · Contrast checker → · Palette generator →

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