#CDCB62#CDCB62

#CDCB62 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.128 H 107.9°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CDCB62
RGBrgb(205, 203, 98)
HSLhsl(59, 52%, 59%)
HSVhsv(59, 52%, 80%)
CMYKcmyk(0%, 1%, 52.2%, 19.6%)
CIE-LABlab(79.94, -13.33, 51.90)
CIE-LCHlch(79.94, 53.59, 104.40°)
OKLaboklab(82.24% -0.0394 0.1217)
OKLCHoklch(82.24% 0.128 107.9)
XYZxyz(48.7386, 56.5741, 19.9054)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB62 #6264CD
analogous
#CD9662 #CDCB62 #99CD62
triadic
#CDCB62 #62CDCB #CB62CD
tetradic
#CDCB62 #62CD96 #6264CD #CD6299
square
#CDCB62 #62CD96 #6264CD #CD6299
split-complementary
#CDCB62 #6299CD #9662CD
monochromatic
#89872C #B7B53A #CDCB62 #DCDA90 #EBEABF

Accessibility & contrast

On white

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

On black

12.31
#CDCB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB62
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB62#FFFFFF#000000##000000
##CDCB621.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C458
Deuteranopia (green-blind)
#DBC867
Tritanopia (blue-blind)
#DAC0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb62;
/* rgb */ color: rgb(205, 203, 98);
/* oklch */ color: oklch(82.2% 0.128 107.9);
Tailwind
colors: {
  custom: {
    50: '#deda92',
    500: '#cdcb62',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb62;
$custom-light: #deda92;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb62",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 98
  },
  "hsl": {
    "h": 58.879,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82244,
    "c": 0.12793,
    "h": 107.9
  },
  "luminance": 0.56573
}

Semantic roles & 50–950 ramp

primary
#CDCB62
secondary
#434590
accent
#4FDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCB62

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

Preview Lab → · Contrast checker → · Palette generator →

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