#CDCB3D#CDCB3D

#CDCB3D is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.157 H 108.6°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#CDCB3D
RGBrgb(205, 203, 61)
HSLhsl(59, 59%, 52%)
HSVhsv(59, 70%, 80%)
CMYKcmyk(0%, 1%, 70.2%, 19.6%)
CIE-LABlab(79.63, -15.76, 67.08)
CIE-LCHlch(79.63, 68.90, 103.22°)
OKLaboklab(81.9% -0.0501 0.1488)
OKLCHoklch(81.9% 0.157 108.6)
XYZxyz(47.3768, 56.0294, 12.7331)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB3D #3D3FCD
analogous
#CD833D #CDCB3D #87CD3D
triadic
#CDCB3D #3DCDCB #CB3DCD
tetradic
#CDCB3D #3DCD83 #3D3FCD #CD3D87
square
#CDCB3D #3DCD83 #3D3FCD #CD3D87
split-complementary
#CDCB3D #3D87CD #833DCD
monochromatic
#72711D #A3A12A #CDCB3D #DAD86E #E6E59E

Accessibility & contrast

On white

1.72
#CDCB3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#CDCB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB3D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB3D#FFFFFF#000000##000000
##CDCB3D1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC324
Deuteranopia (green-blind)
#DEC847
Tritanopia (blue-blind)
#DCBEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdcb3d;
/* rgb */ color: rgb(205, 203, 61);
/* oklch */ color: oklch(81.9% 0.157 108.6);
Tailwind
colors: {
  custom: {
    50: '#e0da7c',
    500: '#cdcb3d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb3d;
$custom-light: #e0da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb3d",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 61
  },
  "hsl": {
    "h": 59.167,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81899,
    "c": 0.15704,
    "h": 108.6
  },
  "luminance": 0.56028
}

Semantic roles & 50–950 ramp

primary
#CDCB3D
secondary
#33347B
accent
#48E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDCB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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