#CDB339#CDB339

#CDB339 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.139 H 96.8°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CDB339
RGBrgb(205, 179, 57)
HSLhsl(49, 60%, 51%)
HSVhsv(49, 72%, 80%)
CMYKcmyk(0%, 12.7%, 72.2%, 19.6%)
CIE-LABlab(73.23, -3.66, 62.30)
CIE-LCHlch(73.23, 62.41, 93.37°)
OKLaboklab(76.8% -0.0164 0.138)
OKLCHoklch(76.8% 0.139 96.8)
XYZxyz(42.0376, 45.5169, 10.4415)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB339 #3953CD
analogous
#CD6939 #CDB339 #9DCD39
triadic
#CDB339 #39CDB3 #B339CD
tetradic
#CDB339 #39CD69 #3953CD #CD399D
square
#CDB339 #39CD69 #3953CD #CD399D
split-complementary
#CDB339 #399DCD #6939CD
monochromatic
#6F611C #A08B28 #CDB339 #D9C66A #E6D99B

Accessibility & contrast

On white

2.08
#CDB339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CDB339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB339
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB339#FFFFFF#000000##000000
##CDB3391.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF26
Deuteranopia (green-blind)
#CCB740
Tritanopia (blue-blind)
#DDA59B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb339;
/* rgb */ color: rgb(205, 179, 57);
/* oklch */ color: oklch(76.8% 0.139 96.8);
Tailwind
colors: {
  custom: {
    50: '#e0c977',
    500: '#cdb339',
    950: '#000000',
  },
}
SCSS
$custom: #cdb339;
$custom-light: #e0c977;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb339",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 49.459,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76803,
    "c": 0.13899,
    "h": 96.8
  },
  "luminance": 0.45515
}

Semantic roles & 50–950 ramp

primary
#CDB339
secondary
#909CD2
accent
#61E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB339

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

Preview Lab → · Contrast checker → · Palette generator →

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