#F5D95B#F5D95B

#F5D95B is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.6% C 0.146 H 96.7°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#F5D95B
RGBrgb(245, 217, 91)
HSLhsl(49, 89%, 66%)
HSVhsv(49, 63%, 96%)
CMYKcmyk(0%, 11.4%, 62.9%, 3.9%)
CIE-LABlab(86.90, -4.46, 63.76)
CIE-LCHlch(86.90, 63.92, 94.00°)
OKLaboklab(88.56% -0.0171 0.1454)
OKLCHoklch(88.56% 0.146 96.7)
XYZxyz(64.3602, 69.7966, 19.9775)
Luminance0.6979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D95B #5B77F5
analogous
#F58C5B #F5D95B #C4F55B
triadic
#F5D95B #5BF5D9 #D95BF5
tetradic
#F5D95B #5BF58C #5B77F5 #F55BC4
square
#F5D95B #5BF58C #5B77F5 #F55BC4
split-complementary
#F5D95B #5BC4F5 #8C5BF5
monochromatic
#C9A70C #F1CC21 #F5D95B #F9E695 #FCF4CE

Accessibility & contrast

On white

1.40
#F5D95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#F5D95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D95B
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D95B#FFFFFF#000000##000000
##F5D95B1.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44C
Deuteranopia (green-blind)
#F4DE61
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5d95b;
/* rgb */ color: rgb(245, 217, 91);
/* oklch */ color: oklch(88.6% 0.146 96.7);
Tailwind
colors: {
  custom: {
    50: '#fce48e',
    500: '#f5d95b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d95b;
$custom-light: #fce48e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d95b",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 49.091,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88556,
    "c": 0.1464,
    "h": 96.7
  },
  "luminance": 0.69794
}

Semantic roles & 50–950 ramp

primary
#F5D95B
secondary
#2E4AC6
accent
#2AE500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D95B

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

Preview Lab → · Contrast checker → · Palette generator →

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