#CDB94D#CDB94D

#CDB94D is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.2% C 0.129 H 98.8°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CDB94D
RGBrgb(205, 185, 77)
HSLhsl(51, 56%, 55%)
HSVhsv(51, 62%, 80%)
CMYKcmyk(0%, 9.8%, 62.4%, 19.6%)
CIE-LABlab(74.96, -5.67, 55.85)
CIE-LCHlch(74.96, 56.13, 95.80°)
OKLaboklab(78.22% -0.0198 0.1277)
OKLCHoklch(78.22% 0.129 98.8)
XYZxyz(43.8672, 48.2148, 14.0155)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB94D #4D61CD
analogous
#CD794D #CDB94D #A1CD4D
triadic
#CDB94D #4DCDB9 #B94DCD
tetradic
#CDB94D #4DCD79 #4D61CD #CD4DA1
square
#CDB94D #4DCD79 #4D61CD #CD4DA1
split-complementary
#CDB94D #4DA1CD #794DCD
monochromatic
#7D6F23 #AC9930 #CDB94D #DACC7D #E8DFAD

Accessibility & contrast

On white

1.97
#CDB94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#CDB94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB94D
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB94D#FFFFFF#000000##000000
##CDB94D1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB441
Deuteranopia (green-blind)
#CFBC53
Tritanopia (blue-blind)
#DCACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb94d;
/* rgb */ color: rgb(205, 185, 77);
/* oklch */ color: oklch(78.2% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#dfcd83',
    500: '#cdb94d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb94d;
$custom-light: #dfcd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb94d",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 77
  },
  "hsl": {
    "h": 50.625,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78222,
    "c": 0.12918,
    "h": 98.8
  },
  "luminance": 0.48213
}

Semantic roles & 50–950 ramp

primary
#CDB94D
secondary
#A0A9D6
accent
#60DF48
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB94D

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

Preview Lab → · Contrast checker → · Palette generator →

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