#CDB84B#CDB84B

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

Color values

HEX#CDB84B
RGBrgb(205, 184, 75)
HSLhsl(50, 57%, 55%)
HSVhsv(50, 63%, 80%)
CMYKcmyk(0%, 10.2%, 63.4%, 19.6%)
CIE-LABlab(74.68, -5.28, 56.42)
CIE-LCHlch(74.68, 56.67, 95.35°)
OKLaboklab(77.99% -0.0189 0.1286)
OKLCHoklch(77.99% 0.13 98.4)
XYZxyz(43.5892, 47.7701, 13.5798)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB84B #4B60CD
analogous
#CD774B #CDB84B #A1CD4B
triadic
#CDB84B #4BCDB8 #B84BCD
tetradic
#CDB84B #4BCD77 #4B60CD #CD4BA1
square
#CDB84B #4BCD77 #4B60CD #CD4BA1
split-complementary
#CDB84B #4BA1CD #774BCD
monochromatic
#7B6D22 #AB9730 #CDB84B #DACB7B #E8DEAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB84B#FFFFFF#000000##000000
##CDB84B1.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)
#C9B43E
Deuteranopia (green-blind)
#CFBB51
Tritanopia (blue-blind)
#DCABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb84b;
/* rgb */ color: rgb(205, 184, 75);
/* oklch */ color: oklch(78.0% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#dfcd82',
    500: '#cdb84b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb84b;
$custom-light: #dfcd82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb84b",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 75
  },
  "hsl": {
    "h": 50.308,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77994,
    "c": 0.12997,
    "h": 98.4
  },
  "luminance": 0.47768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB84B

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

Preview Lab → · Contrast checker → · Palette generator →

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