#CDB936#CDB936

#CDB936 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.145 H 100.3°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CDB936
RGBrgb(205, 185, 54)
HSLhsl(52, 60%, 51%)
HSVhsv(52, 74%, 80%)
CMYKcmyk(0%, 9.8%, 73.7%, 19.6%)
CIE-LABlab(74.79, -6.93, 64.91)
CIE-LCHlch(74.79, 65.28, 96.09°)
OKLaboklab(78.03% -0.0259 0.143)
OKLCHoklch(78.03% 0.145 100.3)
XYZxyz(43.1937, 47.9454, 10.4685)
Luminance0.4794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB936 #364ACD
analogous
#CD6D36 #CDB936 #95CD36
triadic
#CDB936 #36CDB9 #B936CD
tetradic
#CDB936 #36CD6D #364ACD #CD3695
square
#CDB936 #36CD6D #364ACD #CD3695
split-complementary
#CDB936 #3695CD #6D36CD
monochromatic
#6D631B #9E8F27 #CDB936 #D9CA67 #E5DB98

Accessibility & contrast

On white

1.98
#CDB936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CDB936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB936
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB936#FFFFFF#000000##000000
##CDB9361.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB41E
Deuteranopia (green-blind)
#D0BB3F
Tritanopia (blue-blind)
#DDABA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb936;
/* rgb */ color: rgb(205, 185, 54);
/* oklch */ color: oklch(78.0% 0.145 100.3);
Tailwind
colors: {
  custom: {
    50: '#e0cd76',
    500: '#cdb936',
    950: '#000000',
  },
}
SCSS
$custom: #cdb936;
$custom-light: #e0cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb936",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 54
  },
  "hsl": {
    "h": 52.053,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78033,
    "c": 0.14532,
    "h": 100.3
  },
  "luminance": 0.47943
}

Semantic roles & 50–950 ramp

primary
#CDB936
secondary
#8E97D1
accent
#5AE344
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB936

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

Preview Lab → · Contrast checker → · Palette generator →

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