#CDB82E#CDB82E

#CDB82E is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.8% C 0.149 H 100.1°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CDB82E
RGBrgb(205, 184, 46)
HSLhsl(52, 63%, 49%)
HSVhsv(52, 78%, 80%)
CMYKcmyk(0%, 10.2%, 77.6%, 19.6%)
CIE-LABlab(74.48, -6.73, 67.33)
CIE-LCHlch(74.48, 67.67, 95.71°)
OKLaboklab(77.78% -0.0261 0.1466)
OKLCHoklch(77.78% 0.149 100.1)
XYZxyz(42.8126, 47.4595, 9.4898)
Luminance0.4746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB82E #2E43CD
analogous
#CD682E #CDB82E #93CD2E
triadic
#CDB82E #2ECDB8 #B82ECD
tetradic
#CDB82E #2ECD68 #2E43CD #CD2E93
square
#CDB82E #2ECD68 #2E43CD #CD2E93
split-complementary
#CDB82E #2E93CD #682ECD
monochromatic
#695E18 #9B8B23 #CDB82E #DBCA5D #E6DB8F

Accessibility & contrast

On white

2.00
#CDB82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#CDB82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB82E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB82E#FFFFFF#000000##000000
##CDB82E1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB30B
Deuteranopia (green-blind)
#D0BB38
Tritanopia (blue-blind)
#DDAA9E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb82e;
/* rgb */ color: rgb(205, 184, 46);
/* oklch */ color: oklch(77.8% 0.149 100.1);
Tailwind
colors: {
  custom: {
    50: '#e0cc72',
    500: '#cdb82e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb82e;
$custom-light: #e0cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb82e",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 52.075,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77775,
    "c": 0.14892,
    "h": 100.1
  },
  "luminance": 0.47457
}

Semantic roles & 50–950 ramp

primary
#CDB82E
secondary
#8690D0
accent
#57E641
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB82E

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

Preview Lab → · Contrast checker → · Palette generator →

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