#CDB84D#CDB84D

#CDB84D is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.0% C 0.128 H 98.2°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#CDB84D
RGBrgb(205, 184, 77)
HSLhsl(50, 56%, 55%)
HSVhsv(50, 62%, 80%)
CMYKcmyk(0%, 10.2%, 62.4%, 19.6%)
CIE-LABlab(74.70, -5.15, 55.56)
CIE-LCHlch(74.70, 55.80, 95.30°)
OKLaboklab(78.01% -0.0183 0.127)
OKLCHoklch(78.01% 0.128 98.2)
XYZxyz(43.6587, 47.7979, 13.9460)
Luminance0.4780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB84D #4D62CD
analogous
#CD784D #CDB84D #A2CD4D
triadic
#CDB84D #4DCDB8 #B84DCD
tetradic
#CDB84D #4DCD78 #4D62CD #CD4DA2
square
#CDB84D #4DCD78 #4D62CD #CD4DA2
split-complementary
#CDB84D #4DA2CD #784DCD
monochromatic
#7D6E23 #AC9830 #CDB84D #DACB7D #E8DEAD

Accessibility & contrast

On white

1.99
#CDB84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#CDB84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB84D
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB84D#FFFFFF#000000##000000
##CDB84D1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B441
Deuteranopia (green-blind)
#CEBB52
Tritanopia (blue-blind)
#DCABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb84d;
/* rgb */ color: rgb(205, 184, 77);
/* oklch */ color: oklch(78.0% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#dfcd83',
    500: '#cdb84d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb84d;
$custom-light: #dfcd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb84d",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 77
  },
  "hsl": {
    "h": 50.156,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78014,
    "c": 0.12836,
    "h": 98.2
  },
  "luminance": 0.47796
}

Semantic roles & 50–950 ramp

primary
#CDB84D
secondary
#A0A9D6
accent
#61DF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB84D

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

Preview Lab → · Contrast checker → · Palette generator →

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