#F5D259#F5D259

#F5D259 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 87.1% C 0.143 H 93.0°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#F5D259
RGBrgb(245, 210, 89)
HSLhsl(47, 89%, 65%)
HSVhsv(47, 64%, 96%)
CMYKcmyk(0%, 14.3%, 63.7%, 3.9%)
CIE-LABlab(85.11, -1.02, 62.69)
CIE-LCHlch(85.11, 62.70, 90.93°)
OKLaboklab(87.14% -0.0075 0.1428)
OKLCHoklch(87.14% 0.143 93)
XYZxyz(62.5089, 66.2303, 18.9405)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D259 #597CF5
analogous
#F58459 #F5D259 #CAF559
triadic
#F5D259 #59F5D2 #D259F5
tetradic
#F5D259 #59F584 #597CF5 #F559CA
square
#F5D259 #59F584 #597CF5 #F559CA
split-complementary
#F5D259 #59CAF5 #8459F5
monochromatic
#C89D0C #F2C21F #F5D259 #F8E293 #FCF1CC

Accessibility & contrast

On white

1.47
#F5D259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#F5D259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D259
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D259#FFFFFF#000000##000000
##F5D2591.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4B
Deuteranopia (green-blind)
#F0D95F
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d259;
/* rgb */ color: rgb(245, 210, 89);
/* oklch */ color: oklch(87.1% 0.143 93.0);
Tailwind
colors: {
  custom: {
    50: '#fcdf8d',
    500: '#f5d259',
    950: '#000000',
  },
}
SCSS
$custom: #f5d259;
$custom-light: #fcdf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d259",
  "rgb": {
    "r": 245,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 46.538,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.87141,
    "c": 0.14303,
    "h": 93
  },
  "luminance": 0.66227
}

Semantic roles & 50–950 ramp

primary
#F5D259
secondary
#2E50C4
accent
#34E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D259

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

Preview Lab → · Contrast checker → · Palette generator →

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