#CDB562#CDB562

#CDB562 is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.6% C 0.107 H 93.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#CDB562
RGBrgb(205, 181, 98)
HSLhsl(47, 52%, 59%)
HSVhsv(47, 52%, 80%)
CMYKcmyk(0%, 11.7%, 52.2%, 19.6%)
CIE-LABlab(74.13, -1.99, 45.04)
CIE-LCHlch(74.13, 45.08, 92.52°)
OKLaboklab(77.64% -0.0067 0.1068)
OKLCHoklch(77.64% 0.107 93.6)
XYZxyz(43.9069, 46.9107, 18.2948)
Luminance0.4691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB562 #627ACD
analogous
#CD8062 #CDB562 #B0CD62
triadic
#CDB562 #62CDB5 #B562CD
tetradic
#CDB562 #62CD80 #627ACD #CD62B0
square
#CDB562 #62CD80 #627ACD #CD62B0
split-complementary
#CDB562 #62B0CD #8062CD
monochromatic
#89742C #B79B3A #CDB562 #DCCB90 #EBE1BF

Accessibility & contrast

On white

2.02
#CDB562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#CDB562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB562
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB562#FFFFFF#000000##000000
##CDB5621.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B25B
Deuteranopia (green-blind)
#CBB965
Tritanopia (blue-blind)
#DBAAA2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb562;
/* rgb */ color: rgb(205, 181, 98);
/* oklch */ color: oklch(77.6% 0.107 93.6);
Tailwind
colors: {
  custom: {
    50: '#deca90',
    500: '#cdb562',
    950: '#000000',
  },
}
SCSS
$custom: #cdb562;
$custom-light: #deca90;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb562",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 98
  },
  "hsl": {
    "h": 46.542,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.77638,
    "c": 0.10698,
    "h": 93.6
  },
  "luminance": 0.46909
}

Semantic roles & 50–950 ramp

primary
#CDB562
secondary
#B1BADA
accent
#6DDB4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CDB562

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

Preview Lab → · Contrast checker → · Palette generator →

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