#F5D25B#F5D25B

#F5D25B is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.2% C 0.141 H 92.8°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#F5D25B
RGBrgb(245, 210, 91)
HSLhsl(46, 89%, 66%)
HSVhsv(46, 63%, 96%)
CMYKcmyk(0%, 14.3%, 62.9%, 3.9%)
CIE-LABlab(85.13, -0.90, 61.84)
CIE-LCHlch(85.13, 61.85, 90.83°)
OKLaboklab(87.16% -0.0069 0.1413)
OKLCHoklch(87.16% 0.141 92.8)
XYZxyz(62.5941, 66.2643, 19.3888)
Luminance0.6626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D25B #5B7EF5
analogous
#F5855B #F5D25B #CBF55B
triadic
#F5D25B #5BF5D2 #D25BF5
tetradic
#F5D25B #5BF585 #5B7EF5 #F55BCB
square
#F5D25B #5BF585 #5B7EF5 #F55BCB
split-complementary
#F5D25B #5BCBF5 #855BF5
monochromatic
#C99E0C #F1C221 #F5D25B #F9E295 #FCF2CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5D25B#FFFFFF#000000##000000
##F5D25B1.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)
#E7CF4E
Deuteranopia (green-blind)
#EFD960
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d25b;
/* rgb */ color: rgb(245, 210, 91);
/* oklch */ color: oklch(87.2% 0.141 92.8);
Tailwind
colors: {
  custom: {
    50: '#fcdf8e',
    500: '#f5d25b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d25b;
$custom-light: #fcdf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d25b",
  "rgb": {
    "r": 245,
    "g": 210,
    "b": 91
  },
  "hsl": {
    "h": 46.364,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8716,
    "c": 0.14149,
    "h": 92.8
  },
  "luminance": 0.66261
}

Semantic roles & 50–950 ramp

primary
#F5D25B
secondary
#2E51C6
accent
#34E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D25B

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

Preview Lab → · Contrast checker → · Palette generator →

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