#FFD95F#FFD95F

#FFD95F is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.5% C 0.145 H 91.9°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#FFD95F
RGBrgb(255, 217, 95)
HSLhsl(46, 100%, 69%)
HSVhsv(46, 63%, 100%)
CMYKcmyk(0%, 14.9%, 62.7%, 0%)
CIE-LABlab(87.83, -0.09, 63.32)
CIE-LCHlch(87.83, 63.32, 90.08°)
OKLaboklab(89.52% -0.0047 0.1448)
OKLCHoklch(89.52% 0.145 91.9)
XYZxyz(68.1217, 71.7156, 21.0786)
Luminance0.7171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD95F #5F85FF
analogous
#FF895F #FFD95F #D5FF5F
triadic
#FFD95F #5FFFD9 #D95FFF
tetradic
#FFD95F #5FFF89 #5F85FF #FF5FD5
square
#FFD95F #5FFF89 #5F85FF #FF5FD5
split-complementary
#FFD95F #5FD5FF #895FFF
monochromatic
#E4AE00 #FFCA22 #FFD95F #FFE89C #FFF6D9

Accessibility & contrast

On white

1.37
#FFD95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#FFD95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD95F
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD95F#FFFFFF#000000##000000
##FFD95F1.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD651
Deuteranopia (green-blind)
#F8E165
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ffd95f;
/* rgb */ color: rgb(255, 217, 95);
/* oklch */ color: oklch(89.5% 0.145 91.9);
Tailwind
colors: {
  custom: {
    50: '#ffe491',
    500: '#ffd95f',
    950: '#000000',
  },
}
SCSS
$custom: #ffd95f;
$custom-light: #ffe491;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd95f",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 45.75,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.89517,
    "c": 0.14483,
    "h": 91.9
  },
  "luminance": 0.71712
}

Semantic roles & 50–950 ramp

primary
#FFD95F
secondary
#2953D9
accent
#37E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150D
muted
#87847F

Preview Lab

Preview with #FFD95F

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

Preview Lab → · Contrast checker → · Palette generator →

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