#CDC451#CDC451

#CDC451 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.136 H 104.8°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CDC451
RGBrgb(205, 196, 81)
HSLhsl(56, 55%, 56%)
HSVhsv(56, 60%, 80%)
CMYKcmyk(0%, 4.4%, 60.5%, 19.6%)
CIE-LABlab(77.91, -11.06, 57.30)
CIE-LCHlch(77.91, 58.36, 100.93°)
OKLaboklab(80.57% -0.0348 0.1313)
OKLCHoklch(80.57% 0.136 104.8)
XYZxyz(46.4036, 53.0547, 15.5792)
Luminance0.5305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC451 #515ACD
analogous
#CD8651 #CDC451 #98CD51
triadic
#CDC451 #51CDC4 #C451CD
tetradic
#CDC451 #51CD86 #515ACD #CD5198
square
#CDC451 #51CD86 #515ACD #CD5198
split-complementary
#CDC451 #5198CD #8651CD
monochromatic
#7F7925 #AFA632 #CDC451 #DBD481 #E8E4B0

Accessibility & contrast

On white

1.81
#CDC451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CDC451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC451
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC451#FFFFFF#000000##000000
##CDC4511.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE44
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#DBB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc451;
/* rgb */ color: rgb(205, 196, 81);
/* oklch */ color: oklch(80.6% 0.136 104.8);
Tailwind
colors: {
  custom: {
    50: '#dfd586',
    500: '#cdc451',
    950: '#000000',
  },
}
SCSS
$custom: #cdc451;
$custom-light: #dfd586;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc451",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 55.645,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80573,
    "c": 0.13582,
    "h": 104.8
  },
  "luminance": 0.53053
}

Semantic roles & 50–950 ramp

primary
#CDC451
secondary
#3B4187
accent
#54DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC451

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

Preview Lab → · Contrast checker → · Palette generator →

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