#CDBA62#CDBA62

#CDBA62 is a light, moderate yellow. Relative luminance 0.490; OKLCH L 78.7% C 0.111 H 97.4°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#CDBA62
RGBrgb(205, 186, 98)
HSLhsl(49, 52%, 59%)
HSVhsv(49, 52%, 80%)
CMYKcmyk(0%, 9.3%, 52.2%, 19.6%)
CIE-LABlab(75.44, -4.60, 46.60)
CIE-LCHlch(75.44, 46.83, 95.64°)
OKLaboklab(78.67% -0.0143 0.1102)
OKLCHoklch(78.67% 0.111 97.4)
XYZxyz(44.9419, 48.9806, 18.6398)
Luminance0.4898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA62 #6275CD
analogous
#CD8562 #CDBA62 #ABCD62
triadic
#CDBA62 #62CDBA #BA62CD
tetradic
#CDBA62 #62CD85 #6275CD #CD62AB
square
#CDBA62 #62CD85 #6275CD #CD62AB
split-complementary
#CDBA62 #62ABCD #8562CD
monochromatic
#89782C #B7A13A #CDBA62 #DCCE90 #EBE3BF

Accessibility & contrast

On white

1.95
#CDBA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#CDBA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA62
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA62#FFFFFF#000000##000000
##CDBA621.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B65A
Deuteranopia (green-blind)
#CEBD66
Tritanopia (blue-blind)
#DBAFA6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdba62;
/* rgb */ color: rgb(205, 186, 98);
/* oklch */ color: oklch(78.7% 0.111 97.4);
Tailwind
colors: {
  custom: {
    50: '#dece91',
    500: '#cdba62',
    950: '#000000',
  },
}
SCSS
$custom: #cdba62;
$custom-light: #dece91;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba62",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 98
  },
  "hsl": {
    "h": 49.346,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.78671,
    "c": 0.11112,
    "h": 97.4
  },
  "luminance": 0.48979
}

Semantic roles & 50–950 ramp

primary
#CDBA62
secondary
#B1B8DA
accent
#66DB4D
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CDBA62

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

Preview Lab → · Contrast checker → · Palette generator →

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