#FFCD57#FFCD57

#FFCD57 is a very light, vivid orange. Relative luminance 0.656; OKLCH L 87.1% C 0.144 H 85.8°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#FFCD57
RGBrgb(255, 205, 87)
HSLhsl(42, 100%, 67%)
HSVhsv(42, 66%, 100%)
CMYKcmyk(0%, 19.6%, 65.9%, 0%)
CIE-LABlab(84.80, 5.57, 63.49)
CIE-LCHlch(84.80, 63.73, 84.98°)
OKLaboklab(87.11% 0.0107 0.1439)
OKLCHoklch(87.11% 0.144 85.8)
XYZxyz(64.7952, 65.6149, 18.2671)
Luminance0.6561 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCD57 #5789FF
analogous
#FF7957 #FFCD57 #DDFF57
triadic
#FFCD57 #57FFCD #CD57FF
tetradic
#FFCD57 #57FF79 #5789FF #FF57DD
square
#FFCD57 #57FF79 #5789FF #FF57DD
split-complementary
#FFCD57 #57DDFF #7957FF
monochromatic
#DC9A00 #FFBB1A #FFCD57 #FFDF94 #FFF1D1

Accessibility & contrast

On white

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

On black

14.12
#FFCD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCD57
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCD57#FFFFFF#000000##000000
##FFCD571.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#F0D95C
Tritanopia (blue-blind)
#FFBCB4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ffcd57;
/* rgb */ color: rgb(255, 205, 87);
/* oklch */ color: oklch(87.1% 0.144 85.8);
Tailwind
colors: {
  custom: {
    50: '#ffdc8b',
    500: '#ffcd57',
    950: '#000000',
  },
}
SCSS
$custom: #ffcd57;
$custom-light: #ffdc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffcd57",
  "rgb": {
    "r": 255,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 42.143,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87106,
    "c": 0.14432,
    "h": 85.8
  },
  "luminance": 0.65611
}

Semantic roles & 50–950 ramp

primary
#FFCD57
secondary
#265AD5
accent
#44E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFCD57

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

Preview Lab → · Contrast checker → · Palette generator →

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