#CDB836#CDB836

#CDB836 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.8% C 0.145 H 99.7°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#CDB836
RGBrgb(205, 184, 54)
HSLhsl(52, 60%, 51%)
HSVhsv(52, 74%, 80%)
CMYKcmyk(0%, 10.2%, 73.7%, 19.6%)
CIE-LABlab(74.53, -6.41, 64.66)
CIE-LCHlch(74.53, 64.98, 95.66°)
OKLaboklab(77.82% -0.0244 0.1425)
OKLCHoklch(77.82% 0.145 99.7)
XYZxyz(42.9852, 47.5285, 10.3991)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB836 #364BCD
analogous
#CD6D36 #CDB836 #96CD36
triadic
#CDB836 #36CDB8 #B836CD
tetradic
#CDB836 #36CD6D #364BCD #CD3696
square
#CDB836 #36CD6D #364BCD #CD3696
split-complementary
#CDB836 #3696CD #6D36CD
monochromatic
#6D621B #9E8E27 #CDB836 #D9C967 #E5DB98

Accessibility & contrast

On white

2.00
#CDB836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#CDB836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB836
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB836#FFFFFF#000000##000000
##CDB8361.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB31F
Deuteranopia (green-blind)
#D0BB3F
Tritanopia (blue-blind)
#DDAA9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb836;
/* rgb */ color: rgb(205, 184, 54);
/* oklch */ color: oklch(77.8% 0.145 99.7);
Tailwind
colors: {
  custom: {
    50: '#e0cc76',
    500: '#cdb836',
    950: '#000000',
  },
}
SCSS
$custom: #cdb836;
$custom-light: #e0cc76;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb836",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 54
  },
  "hsl": {
    "h": 51.656,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77824,
    "c": 0.14454,
    "h": 99.7
  },
  "luminance": 0.47526
}

Semantic roles & 50–950 ramp

primary
#CDB836
secondary
#8E97D1
accent
#5BE344
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB836

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

Preview Lab → · Contrast checker → · Palette generator →

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