#CDB847#CDB847

#CDB847 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.133 H 98.7°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#CDB847
RGBrgb(205, 184, 71)
HSLhsl(51, 57%, 54%)
HSVhsv(51, 65%, 80%)
CMYKcmyk(0%, 10.2%, 65.4%, 19.6%)
CIE-LABlab(74.65, -5.53, 58.10)
CIE-LCHlch(74.65, 58.37, 95.43°)
OKLaboklab(77.96% -0.0201 0.1315)
OKLCHoklch(77.96% 0.133 98.7)
XYZxyz(43.4566, 47.7170, 12.8813)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB847 #475CCD
analogous
#CD7547 #CDB847 #9FCD47
triadic
#CDB847 #47CDB8 #B847CD
tetradic
#CDB847 #47CD75 #475CCD #CD479F
square
#CDB847 #47CD75 #475CCD #CD479F
split-complementary
#CDB847 #479FCD #7547CD
monochromatic
#796B21 #A9962E #CDB847 #DACB77 #E7DDA7

Accessibility & contrast

On white

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

On black

10.54
#CDB847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB847
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB847#FFFFFF#000000##000000
##CDB8471.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B339
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#DCABA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb847;
/* rgb */ color: rgb(205, 184, 71);
/* oklch */ color: oklch(78.0% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#e0cd80',
    500: '#cdb847',
    950: '#000000',
  },
}
SCSS
$custom: #cdb847;
$custom-light: #e0cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb847",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 71
  },
  "hsl": {
    "h": 50.597,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77957,
    "c": 0.13307,
    "h": 98.7
  },
  "luminance": 0.47715
}

Semantic roles & 50–950 ramp

primary
#CDB847
secondary
#9BA4D4
accent
#5FE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB847

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

Preview Lab → · Contrast checker → · Palette generator →

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