#CDB84C#CDB84C

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

Color values

HEX#CDB84C
RGBrgb(205, 184, 76)
HSLhsl(50, 56%, 55%)
HSVhsv(50, 63%, 80%)
CMYKcmyk(0%, 10.2%, 62.9%, 19.6%)
CIE-LABlab(74.69, -5.21, 55.99)
CIE-LCHlch(74.69, 56.23, 95.32°)
OKLaboklab(78% -0.0186 0.1278)
OKLCHoklch(78% 0.129 98.3)
XYZxyz(43.6237, 47.7839, 13.7615)
Luminance0.4778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB84C #4C61CD
analogous
#CD784C #CDB84C #A1CD4C
triadic
#CDB84C #4CCDB8 #B84CCD
tetradic
#CDB84C #4CCD78 #4C61CD #CD4CA1
square
#CDB84C #4CCD78 #4C61CD #CD4CA1
split-complementary
#CDB84C #4CA1CD #784CCD
monochromatic
#7C6D23 #AC9830 #CDB84C #DACB7C #E8DEAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB84C#FFFFFF#000000##000000
##CDB84C1.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)
#C9B440
Deuteranopia (green-blind)
#CEBB52
Tritanopia (blue-blind)
#DCABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb84c;
/* rgb */ color: rgb(205, 184, 76);
/* oklch */ color: oklch(78.0% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#dfcd83',
    500: '#cdb84c',
    950: '#000000',
  },
}
SCSS
$custom: #cdb84c;
$custom-light: #dfcd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb84c",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 50.233,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78004,
    "c": 0.12916,
    "h": 98.3
  },
  "luminance": 0.47782
}

Semantic roles & 50–950 ramp

primary
#CDB84C
secondary
#9FA8D5
accent
#61E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB84C

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

Preview Lab → · Contrast checker → · Palette generator →

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