#CDB536#CDB536

#CDB536 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.2% C 0.142 H 98.1°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#CDB536
RGBrgb(205, 181, 54)
HSLhsl(50, 60%, 51%)
HSVhsv(50, 74%, 80%)
CMYKcmyk(0%, 11.7%, 73.7%, 19.6%)
CIE-LABlab(73.74, -4.85, 63.91)
CIE-LCHlch(73.74, 64.09, 94.34°)
OKLaboklab(77.2% -0.02 0.1409)
OKLCHoklch(77.2% 0.142 98.1)
XYZxyz(42.3687, 46.2954, 10.1935)
Luminance0.4629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB536 #364ECD
analogous
#CD6A36 #CDB536 #99CD36
triadic
#CDB536 #36CDB5 #B536CD
tetradic
#CDB536 #36CD6A #364ECD #CD3699
square
#CDB536 #36CD6A #364ECD #CD3699
split-complementary
#CDB536 #3699CD #6A36CD
monochromatic
#6D601B #9E8B27 #CDB536 #D9C767 #E5D998

Accessibility & contrast

On white

2.05
#CDB536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#CDB536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB536
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB536#FFFFFF#000000##000000
##CDB5361.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B020
Deuteranopia (green-blind)
#CDB93E
Tritanopia (blue-blind)
#DDA79C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb536;
/* rgb */ color: rgb(205, 181, 54);
/* oklch */ color: oklch(77.2% 0.142 98.1);
Tailwind
colors: {
  custom: {
    50: '#e0ca76',
    500: '#cdb536',
    950: '#000000',
  },
}
SCSS
$custom: #cdb536;
$custom-light: #e0ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb536",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 50.464,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77197,
    "c": 0.14227,
    "h": 98.1
  },
  "luminance": 0.46293
}

Semantic roles & 50–950 ramp

primary
#CDB536
secondary
#8E99D1
accent
#5EE344
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB536

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

Preview Lab → · Contrast checker → · Palette generator →

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