#F5DE5F#F5DE5F

#F5DE5F is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.6% C 0.147 H 99.1°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#F5DE5F
RGBrgb(245, 222, 95)
HSLhsl(51, 88%, 67%)
HSVhsv(51, 61%, 96%)
CMYKcmyk(0%, 9.4%, 61.2%, 3.9%)
CIE-LABlab(88.20, -6.72, 63.47)
CIE-LCHlch(88.20, 63.83, 96.05°)
OKLaboklab(89.6% -0.0232 0.1453)
OKLCHoklch(89.6% 0.147 99.1)
XYZxyz(65.8457, 72.4841, 21.3467)
Luminance0.7248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE5F #5F76F5
analogous
#F5935F #F5DE5F #C1F55F
triadic
#F5DE5F #5FF5DE #DE5FF5
tetradic
#F5DE5F #5FF593 #5F76F5 #F55FC1
square
#F5DE5F #5FF593 #5F76F5 #F55FC1
split-complementary
#F5DE5F #5FC1F5 #935FF5
monochromatic
#CDAF0D #F1D225 #F5DE5F #F9EA99 #FCF6D2

Accessibility & contrast

On white

1.36
#F5DE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.50
#F5DE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE5F
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE5F#FFFFFF#000000##000000
##F5DE5F1.001.3615.5015.50
#FFFFFF1.361.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D851
Deuteranopia (green-blind)
#F8E165
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5de5f;
/* rgb */ color: rgb(245, 222, 95);
/* oklch */ color: oklch(89.6% 0.147 99.1);
Tailwind
colors: {
  custom: {
    50: '#fce891',
    500: '#f5de5f',
    950: '#000000',
  },
}
SCSS
$custom: #f5de5f;
$custom-light: #fce891;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de5f",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 95
  },
  "hsl": {
    "h": 50.8,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.896,
    "c": 0.14717,
    "h": 99.1
  },
  "luminance": 0.72481
}

Semantic roles & 50–950 ramp

primary
#F5DE5F
secondary
#2F47C9
accent
#24E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5DE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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