#F5D05B#F5D05B

#F5D05B is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.8% C 0.140 H 91.6°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#F5D05B
RGBrgb(245, 208, 91)
HSLhsl(46, 89%, 66%)
HSVhsv(46, 63%, 96%)
CMYKcmyk(0%, 15.1%, 62.9%, 3.9%)
CIE-LABlab(84.63, 0.13, 61.30)
CIE-LCHlch(84.63, 61.30, 89.88°)
OKLaboklab(86.76% -0.004 0.1402)
OKLCHoklch(86.76% 0.14 91.6)
XYZxyz(62.1034, 65.2829, 19.2252)
Luminance0.6528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D05B #5B80F5
analogous
#F5835B #F5D05B #CDF55B
triadic
#F5D05B #5BF5D0 #D05BF5
tetradic
#F5D05B #5BF583 #5B80F5 #F55BCD
square
#F5D05B #5BF583 #5B80F5 #F55BCD
split-complementary
#F5D05B #5BCDF5 #835BF5
monochromatic
#C99C0C #F1BF21 #F5D05B #F9E195 #FCF1CE

Accessibility & contrast

On white

1.49
#F5D05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#F5D05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D05B
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D05B#FFFFFF#000000##000000
##F5D05B1.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4E
Deuteranopia (green-blind)
#EED860
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f5d05b;
/* rgb */ color: rgb(245, 208, 91);
/* oklch */ color: oklch(86.8% 0.140 91.6);
Tailwind
colors: {
  custom: {
    50: '#fcde8e',
    500: '#f5d05b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d05b;
$custom-light: #fcde8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d05b",
  "rgb": {
    "r": 245,
    "g": 208,
    "b": 91
  },
  "hsl": {
    "h": 45.584,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86764,
    "c": 0.14021,
    "h": 91.6
  },
  "luminance": 0.6528
}

Semantic roles & 50–950 ramp

primary
#F5D05B
secondary
#2E53C6
accent
#37E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D05B

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

Preview Lab → · Contrast checker → · Palette generator →

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