#CDBD62#CDBD62

#CDBD62 is a light, moderate yellow. Relative luminance 0.503; OKLCH L 79.3% C 0.114 H 99.5°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#CDBD62
RGBrgb(205, 189, 98)
HSLhsl(51, 52%, 59%)
HSVhsv(51, 52%, 80%)
CMYKcmyk(0%, 7.8%, 52.2%, 19.6%)
CIE-LABlab(76.23, -6.17, 47.54)
CIE-LCHlch(76.23, 47.94, 97.39°)
OKLaboklab(79.3% -0.0188 0.1122)
OKLCHoklch(79.3% 0.114 99.5)
XYZxyz(45.5805, 50.2579, 18.8527)
Luminance0.5026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBD62 #6272CD
analogous
#CD8862 #CDBD62 #A8CD62
triadic
#CDBD62 #62CDBD #BD62CD
tetradic
#CDBD62 #62CD88 #6272CD #CD62A8
square
#CDBD62 #62CD88 #6272CD #CD62A8
split-complementary
#CDBD62 #62A8CD #8862CD
monochromatic
#897B2C #B7A53A #CDBD62 #DCD190 #EBE4BF

Accessibility & contrast

On white

1.90
#CDBD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#CDBD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBD62
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBD62#FFFFFF#000000##000000
##CDBD621.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB85A
Deuteranopia (green-blind)
#D1BF66
Tritanopia (blue-blind)
#DBB2A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cdbd62;
/* rgb */ color: rgb(205, 189, 98);
/* oklch */ color: oklch(79.3% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#ded091',
    500: '#cdbd62',
    950: '#000000',
  },
}
SCSS
$custom: #cdbd62;
$custom-light: #ded091;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbd62",
  "rgb": {
    "r": 205,
    "g": 189,
    "b": 98
  },
  "hsl": {
    "h": 51.028,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.79295,
    "c": 0.11381,
    "h": 99.5
  },
  "luminance": 0.50256
}

Semantic roles & 50–950 ramp

primary
#CDBD62
secondary
#434F90
accent
#62DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDBD62

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

Preview Lab → · Contrast checker → · Palette generator →

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