#CDB84A#CDB84A

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

Color values

HEX#CDB84A
RGBrgb(205, 184, 74)
HSLhsl(50, 57%, 55%)
HSVhsv(50, 64%, 80%)
CMYKcmyk(0%, 10.2%, 63.9%, 19.6%)
CIE-LABlab(74.67, -5.34, 56.85)
CIE-LCHlch(74.67, 57.10, 95.37°)
OKLaboklab(77.98% -0.0192 0.1293)
OKLCHoklch(77.98% 0.131 98.5)
XYZxyz(43.5552, 47.7565, 13.4009)
Luminance0.4775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB84A #4A5FCD
analogous
#CD774A #CDB84A #A0CD4A
triadic
#CDB84A #4ACDB8 #B84ACD
tetradic
#CDB84A #4ACD77 #4A5FCD #CD4AA0
square
#CDB84A #4ACD77 #4A5FCD #CD4AA0
split-complementary
#CDB84A #4AA0CD #774ACD
monochromatic
#7B6C22 #AB972F #CDB84A #DACB7A #E7DEAA

Accessibility & contrast

On white

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

On black

10.55
#CDB84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB84A
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB84A#FFFFFF#000000##000000
##CDB84A1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb84a;
/* rgb */ color: rgb(205, 184, 74);
/* oklch */ color: oklch(78.0% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#dfcd81',
    500: '#cdb84a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb84a;
$custom-light: #dfcd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb84a",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 74
  },
  "hsl": {
    "h": 50.382,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77984,
    "c": 0.13075,
    "h": 98.5
  },
  "luminance": 0.47755
}

Semantic roles & 50–950 ramp

primary
#CDB84A
secondary
#9EA7D5
accent
#60E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB84A

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

Preview Lab → · Contrast checker → · Palette generator →

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