#CDCB51#CDCB51

#CDCB51 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.143 H 108.3°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#CDCB51
RGBrgb(205, 203, 81)
HSLhsl(59, 55%, 56%)
HSVhsv(59, 60%, 80%)
CMYKcmyk(0%, 1%, 60.5%, 19.6%)
CIE-LABlab(79.78, -14.60, 59.33)
CIE-LCHlch(79.78, 61.10, 103.83°)
OKLaboklab(82.06% -0.0448 0.1356)
OKLCHoklch(82.06% 0.143 108.3)
XYZxyz(48.0195, 56.2865, 16.1179)
Luminance0.5628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB51 #5153CD
analogous
#CD8D51 #CDCB51 #91CD51
triadic
#CDCB51 #51CDCB #CB51CD
tetradic
#CDCB51 #51CD8D #5153CD #CD5191
square
#CDCB51 #51CD8D #5153CD #CD5191
split-complementary
#CDCB51 #5191CD #8D51CD
monochromatic
#7F7E25 #AFAD32 #CDCB51 #DBD981 #E8E7B0

Accessibility & contrast

On white

1.71
#CDCB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#CDCB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB51
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB51#FFFFFF#000000##000000
##CDCB511.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#DDC858
Tritanopia (blue-blind)
#DBBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb51;
/* rgb */ color: rgb(205, 203, 81);
/* oklch */ color: oklch(82.1% 0.143 108.3);
Tailwind
colors: {
  custom: {
    50: '#dfda87',
    500: '#cdcb51',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb51;
$custom-light: #dfda87;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb51",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 59.032,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82062,
    "c": 0.14282,
    "h": 108.3
  },
  "luminance": 0.56285
}

Semantic roles & 50–950 ramp

primary
#CDCB51
secondary
#3B3D87
accent
#4CDF49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDCB51

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

Preview Lab → · Contrast checker → · Palette generator →

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