#CDB94E#CDB94E

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

Color values

HEX#CDB94E
RGBrgb(205, 185, 78)
HSLhsl(51, 56%, 55%)
HSVhsv(51, 62%, 80%)
CMYKcmyk(0%, 9.8%, 62%, 19.6%)
CIE-LABlab(74.97, -5.60, 55.41)
CIE-LCHlch(74.97, 55.70, 95.77°)
OKLaboklab(78.23% -0.0195 0.1269)
OKLCHoklch(78.23% 0.128 98.7)
XYZxyz(43.9028, 48.2291, 14.2029)
Luminance0.4823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB94E #4E62CD
analogous
#CD794E #CDB94E #A1CD4E
triadic
#CDB94E #4ECDB9 #B94ECD
tetradic
#CDB94E #4ECD79 #4E62CD #CD4EA1
square
#CDB94E #4ECD79 #4E62CD #CD4EA1
split-complementary
#CDB94E #4EA1CD #794ECD
monochromatic
#7D6F23 #AD9931 #CDB94E #DACC7E #E8DFAD

Accessibility & contrast

On white

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

On black

10.65
#CDB94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB94E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB94E#FFFFFF#000000##000000
##CDB94E1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb94e;
/* rgb */ color: rgb(205, 185, 78);
/* oklch */ color: oklch(78.2% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#dfcd84',
    500: '#cdb94e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb94e;
$custom-light: #dfcd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb94e",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 78
  },
  "hsl": {
    "h": 50.551,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78232,
    "c": 0.12836,
    "h": 98.7
  },
  "luminance": 0.48227
}

Semantic roles & 50–950 ramp

primary
#CDB94E
secondary
#A1A9D6
accent
#60DF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB94E

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

Preview Lab → · Contrast checker → · Palette generator →

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