#CDBA64#CDBA64

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

Color values

HEX#CDBA64
RGBrgb(205, 186, 100)
HSLhsl(49, 51%, 60%)
HSVhsv(49, 51%, 80%)
CMYKcmyk(0%, 9.3%, 51.2%, 19.6%)
CIE-LABlab(75.46, -4.43, 45.65)
CIE-LCHlch(75.46, 45.87, 95.54°)
OKLaboklab(78.7% -0.0136 0.1083)
OKLCHoklch(78.7% 0.109 97.2)
XYZxyz(45.0375, 49.0188, 19.1434)
Luminance0.4902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA64 #6477CD
analogous
#CD8664 #CDBA64 #ACCD64
triadic
#CDBA64 #64CDBA #BA64CD
tetradic
#CDBA64 #64CD86 #6477CD #CD64AC
square
#CDBA64 #64CD86 #6477CD #CD64AC
split-complementary
#CDBA64 #64ACCD #8664CD
monochromatic
#8A792D #B8A23B #CDBA64 #DCCF92 #EBE3C1

Accessibility & contrast

On white

1.94
#CDBA64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA64#FFFFFF#000000##000000
##CDBA641.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdba64;
/* rgb */ color: rgb(205, 186, 100);
/* oklch */ color: oklch(78.7% 0.109 97.2);
Tailwind
colors: {
  custom: {
    50: '#dece92',
    500: '#cdba64',
    950: '#000000',
  },
}
SCSS
$custom: #cdba64;
$custom-light: #dece92;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba64",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 100
  },
  "hsl": {
    "h": 49.143,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78698,
    "c": 0.10914,
    "h": 97.2
  },
  "luminance": 0.49017
}

Semantic roles & 50–950 ramp

primary
#CDBA64
secondary
#B2B9DB
accent
#67DB4D
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CDBA64

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

Preview Lab → · Contrast checker → · Palette generator →

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