#CDB32E#CDB32E

#CDB32E is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.7% C 0.145 H 97.4°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CDB32E
RGBrgb(205, 179, 46)
HSLhsl(50, 63%, 49%)
HSVhsv(50, 78%, 80%)
CMYKcmyk(0%, 12.7%, 77.6%, 19.6%)
CIE-LABlab(73.17, -4.13, 66.13)
CIE-LCHlch(73.17, 66.26, 93.57°)
OKLaboklab(76.73% -0.0188 0.1441)
OKLCHoklch(76.73% 0.145 97.4)
XYZxyz(41.7923, 45.4188, 9.1496)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB32E #2E48CD
analogous
#CD642E #CDB32E #98CD2E
triadic
#CDB32E #2ECDB3 #B32ECD
tetradic
#CDB32E #2ECD64 #2E48CD #CD2E98
square
#CDB32E #2ECD64 #2E48CD #CD2E98
split-complementary
#CDB32E #2E98CD #642ECD
monochromatic
#695C18 #9B8723 #CDB32E #DBC65D #E6D88F

Accessibility & contrast

On white

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

On black

10.08
#CDB32E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB32E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB32E#FFFFFF#000000##000000
##CDB32E1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF0F
Deuteranopia (green-blind)
#CCB737
Tritanopia (blue-blind)
#DEA59A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb32e;
/* rgb */ color: rgb(205, 179, 46);
/* oklch */ color: oklch(76.7% 0.145 97.4);
Tailwind
colors: {
  custom: {
    50: '#e1c972',
    500: '#cdb32e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb32e;
$custom-light: #e1c972;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb32e",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 46
  },
  "hsl": {
    "h": 50.189,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76732,
    "c": 0.14527,
    "h": 97.4
  },
  "luminance": 0.45417
}

Semantic roles & 50–950 ramp

primary
#CDB32E
secondary
#8692D0
accent
#5CE641
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #CDB32E

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

Preview Lab → · Contrast checker → · Palette generator →

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