#CDCB3E#CDCB3E

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

Color values

HEX#CDCB3E
RGBrgb(205, 203, 62)
HSLhsl(59, 59%, 52%)
HSVhsv(59, 70%, 80%)
CMYKcmyk(0%, 1%, 69.8%, 19.6%)
CIE-LABlab(79.64, -15.71, 66.72)
CIE-LCHlch(79.64, 68.55, 103.25°)
OKLaboklab(81.91% -0.0499 0.1483)
OKLCHoklch(81.91% 0.156 108.6)
XYZxyz(47.4040, 56.0403, 12.8763)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB3E #3E40CD
analogous
#CD843E #CDCB3E #87CD3E
triadic
#CDCB3E #3ECDCB #CB3ECD
tetradic
#CDCB3E #3ECD84 #3E40CD #CD3E87
square
#CDCB3E #3ECD84 #3E40CD #CD3E87
split-complementary
#CDCB3E #3E87CD #843ECD
monochromatic
#73721E #A3A22A #CDCB3E #DAD86F #E6E59F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCB3E#FFFFFF#000000##000000
##CDCB3E1.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)
#DBC326
Deuteranopia (green-blind)
#DEC848
Tritanopia (blue-blind)
#DCBEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdcb3e;
/* rgb */ color: rgb(205, 203, 62);
/* oklch */ color: oklch(81.9% 0.156 108.6);
Tailwind
colors: {
  custom: {
    50: '#e0da7c',
    500: '#cdcb3e',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb3e;
$custom-light: #e0da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb3e",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 62
  },
  "hsl": {
    "h": 59.161,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81906,
    "c": 0.15642,
    "h": 108.6
  },
  "luminance": 0.56039
}

Semantic roles & 50–950 ramp

primary
#CDCB3E
secondary
#34357C
accent
#48E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDCB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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