#F5D95F#F5D95F

#F5D95F is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.6% C 0.143 H 96.4°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#F5D95F
RGBrgb(245, 217, 95)
HSLhsl(49, 88%, 67%)
HSVhsv(49, 61%, 96%)
CMYKcmyk(0%, 11.4%, 61.2%, 3.9%)
CIE-LABlab(86.93, -4.20, 62.08)
CIE-LCHlch(86.93, 62.22, 93.87°)
OKLaboklab(88.6% -0.016 0.1424)
OKLCHoklch(88.6% 0.143 96.4)
XYZxyz(64.5374, 69.8675, 20.9106)
Luminance0.6986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D95F #5F7BF5
analogous
#F58E5F #F5D95F #C6F55F
triadic
#F5D95F #5FF5D9 #D95FF5
tetradic
#F5D95F #5FF58E #5F7BF5 #F55FC6
square
#F5D95F #5FF58E #5F7BF5 #F55FC6
split-complementary
#F5D95F #5FC6F5 #8E5FF5
monochromatic
#CDA90D #F1CB25 #F5D95F #F9E799 #FCF4D2

Accessibility & contrast

On white

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

On black

14.97
#F5D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D95F
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D95F#FFFFFF#000000##000000
##F5D95F1.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD452
Deuteranopia (green-blind)
#F4DE65
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5d95f;
/* rgb */ color: rgb(245, 217, 95);
/* oklch */ color: oklch(88.6% 0.143 96.4);
Tailwind
colors: {
  custom: {
    50: '#fce491',
    500: '#f5d95f',
    950: '#000000',
  },
}
SCSS
$custom: #f5d95f;
$custom-light: #fce491;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d95f",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 48.8,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88595,
    "c": 0.14325,
    "h": 96.4
  },
  "luminance": 0.69864
}

Semantic roles & 50–950 ramp

primary
#F5D95F
secondary
#2F4CC9
accent
#2BE501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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