#CDB539#CDB539

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

Color values

HEX#CDB539
RGBrgb(205, 181, 57)
HSLhsl(50, 60%, 51%)
HSVhsv(50, 72%, 80%)
CMYKcmyk(0%, 11.7%, 72.2%, 19.6%)
CIE-LABlab(73.76, -4.71, 62.81)
CIE-LCHlch(73.76, 62.99, 94.29°)
OKLaboklab(77.22% -0.0193 0.1391)
OKLCHoklch(77.22% 0.14 97.9)
XYZxyz(42.4413, 46.3244, 10.5761)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB539 #3951CD
analogous
#CD6B39 #CDB539 #9BCD39
triadic
#CDB539 #39CDB5 #B539CD
tetradic
#CDB539 #39CD6B #3951CD #CD399B
square
#CDB539 #39CD6B #3951CD #CD399B
split-complementary
#CDB539 #399BCD #6B39CD
monochromatic
#6F621C #A08D28 #CDB539 #D9C76A #E6DA9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB539#FFFFFF#000000##000000
##CDB5391.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)
#C7B125
Deuteranopia (green-blind)
#CDB941
Tritanopia (blue-blind)
#DDA79C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb539;
/* rgb */ color: rgb(205, 181, 57);
/* oklch */ color: oklch(77.2% 0.140 97.9);
Tailwind
colors: {
  custom: {
    50: '#e0ca77',
    500: '#cdb539',
    950: '#000000',
  },
}
SCSS
$custom: #cdb539;
$custom-light: #e0ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb539",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 57
  },
  "hsl": {
    "h": 50.27,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77218,
    "c": 0.14045,
    "h": 97.9
  },
  "luminance": 0.46322
}

Semantic roles & 50–950 ramp

primary
#CDB539
secondary
#909BD2
accent
#5FE345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB539

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

Preview Lab → · Contrast checker → · Palette generator →

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