#FFCD51#FFCD51

#FFCD51 is a very light, vivid orange. Relative luminance 0.655; OKLCH L 87.1% C 0.148 H 86.5°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#FFCD51
RGBrgb(255, 205, 81)
HSLhsl(43, 100%, 66%)
HSVhsv(43, 68%, 100%)
CMYKcmyk(0%, 19.6%, 68.2%, 0%)
CIE-LABlab(84.75, 5.25, 65.95)
CIE-LCHlch(84.75, 66.16, 85.45°)
OKLaboklab(87.05% 0.009 0.1482)
OKLCHoklch(87.05% 0.148 86.5)
XYZxyz(64.5602, 65.5209, 17.0294)
Luminance0.6552 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCD51 #5183FF
analogous
#FF7651 #FFCD51 #DAFF51
triadic
#FFCD51 #51FFCD #CD51FF
tetradic
#FFCD51 #51FF76 #5183FF #FF51DA
square
#FFCD51 #51FF76 #5183FF #FF51DA
split-complementary
#FFCD51 #51DAFF #7651FF
monochromatic
#D69800 #FFBB14 #FFCD51 #FFDF8E #FFF0CB

Accessibility & contrast

On white

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

On black

14.10
#FFCD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCD51
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCD51#FFFFFF#000000##000000
##FFCD511.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC41
Deuteranopia (green-blind)
#F0D956
Tritanopia (blue-blind)
#FFBCB3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ffcd51;
/* rgb */ color: rgb(255, 205, 81);
/* oklch */ color: oklch(87.1% 0.148 86.5);
Tailwind
colors: {
  custom: {
    50: '#ffdb88',
    500: '#ffcd51',
    950: '#000000',
  },
}
SCSS
$custom: #ffcd51;
$custom-light: #ffdb88;
$custom-dark: #000000;
JSON
{
  "hex": "#ffcd51",
  "rgb": {
    "r": 255,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 42.759,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87053,
    "c": 0.14846,
    "h": 86.5
  },
  "luminance": 0.65517
}

Semantic roles & 50–950 ramp

primary
#FFCD51
secondary
#2556D0
accent
#42E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFCD51

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

Preview Lab → · Contrast checker → · Palette generator →

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