#FFD957#FFD957

#FFD957 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.4% C 0.151 H 92.7°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#FFD957
RGBrgb(255, 217, 87)
HSLhsl(46, 100%, 67%)
HSVhsv(46, 66%, 100%)
CMYKcmyk(0%, 14.9%, 65.9%, 0%)
CIE-LABlab(87.76, -0.56, 66.63)
CIE-LCHlch(87.76, 66.64, 90.48°)
OKLaboklab(89.44% -0.007 0.1506)
OKLCHoklch(89.44% 0.151 92.7)
XYZxyz(67.7765, 71.5776, 19.2609)
Luminance0.7157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD957 #577DFF
analogous
#FF8557 #FFD957 #D1FF57
triadic
#FFD957 #57FFD9 #D957FF
tetradic
#FFD957 #57FF85 #577DFF #FF57D1
square
#FFD957 #57FF85 #577DFF #FF57D1
split-complementary
#FFD957 #57D1FF #8557FF
monochromatic
#DCAA00 #FFCB1A #FFD957 #FFE794 #FFF5D1

Accessibility & contrast

On white

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

On black

15.31
#FFD957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD957
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD957#FFFFFF#000000##000000
##FFD9571.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD647
Deuteranopia (green-blind)
#F8E15D
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ffd957;
/* rgb */ color: rgb(255, 217, 87);
/* oklch */ color: oklch(89.4% 0.151 92.7);
Tailwind
colors: {
  custom: {
    50: '#ffe48c',
    500: '#ffd957',
    950: '#000000',
  },
}
SCSS
$custom: #ffd957;
$custom-light: #ffe48c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd957",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 46.429,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89443,
    "c": 0.15076,
    "h": 92.7
  },
  "luminance": 0.71574
}

Semantic roles & 50–950 ramp

primary
#FFD957
secondary
#264DD5
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFD957

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

Preview Lab → · Contrast checker → · Palette generator →

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