#CDB139#CDB139

#CDB139 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.138 H 95.6°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#CDB139
RGBrgb(205, 177, 57)
HSLhsl(49, 60%, 51%)
HSVhsv(49, 72%, 80%)
CMYKcmyk(0%, 13.7%, 72.2%, 19.6%)
CIE-LABlab(72.71, -2.62, 61.79)
CIE-LCHlch(72.71, 61.84, 92.42°)
OKLaboklab(76.39% -0.0134 0.1369)
OKLCHoklch(76.39% 0.138 95.6)
XYZxyz(41.6396, 44.7211, 10.3089)
Luminance0.4472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB139 #3955CD
analogous
#CD6739 #CDB139 #9FCD39
triadic
#CDB139 #39CDB1 #B139CD
tetradic
#CDB139 #39CD67 #3955CD #CD399F
square
#CDB139 #39CD67 #3955CD #CD399F
split-complementary
#CDB139 #399FCD #6739CD
monochromatic
#6F601C #A08A28 #CDB139 #D9C46A #E6D79B

Accessibility & contrast

On white

2.11
#CDB139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#CDB139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB139
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB139#FFFFFF#000000##000000
##CDB1391.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD26
Deuteranopia (green-blind)
#CAB640
Tritanopia (blue-blind)
#DDA399
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb139;
/* rgb */ color: rgb(205, 177, 57);
/* oklch */ color: oklch(76.4% 0.138 95.6);
Tailwind
colors: {
  custom: {
    50: '#e0c777',
    500: '#cdb139',
    950: '#000000',
  },
}
SCSS
$custom: #cdb139;
$custom-light: #e0c777;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb139",
  "rgb": {
    "r": 205,
    "g": 177,
    "b": 57
  },
  "hsl": {
    "h": 48.649,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76389,
    "c": 0.13758,
    "h": 95.6
  },
  "luminance": 0.44719
}

Semantic roles & 50–950 ramp

primary
#CDB139
secondary
#909DD2
accent
#63E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB139

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

Preview Lab → · Contrast checker → · Palette generator →

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