#CDB22E#CDB22E

#CDB22E is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.5% C 0.145 H 96.9°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#CDB22E
RGBrgb(205, 178, 46)
HSLhsl(50, 63%, 49%)
HSVhsv(50, 78%, 80%)
CMYKcmyk(0%, 13.2%, 77.6%, 19.6%)
CIE-LABlab(72.90, -3.61, 65.90)
CIE-LCHlch(72.90, 65.99, 93.13°)
OKLaboklab(76.52% -0.0173 0.1435)
OKLCHoklch(76.52% 0.145 96.9)
XYZxyz(41.5926, 45.0194, 9.0831)
Luminance0.4502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB22E #2E49CD
analogous
#CD622E #CDB22E #99CD2E
triadic
#CDB22E #2ECDB2 #B22ECD
tetradic
#CDB22E #2ECD62 #2E49CD #CD2E99
square
#CDB22E #2ECD62 #2E49CD #CD2E99
split-complementary
#CDB22E #2E99CD #622ECD
monochromatic
#695B18 #9B8723 #CDB22E #DBC55D #E6D78F

Accessibility & contrast

On white

2.10
#CDB22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#CDB22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB22E
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB22E#FFFFFF#000000##000000
##CDB22E1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0F
Deuteranopia (green-blind)
#CCB737
Tritanopia (blue-blind)
#DEA499
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb22e;
/* rgb */ color: rgb(205, 178, 46);
/* oklch */ color: oklch(76.5% 0.145 96.9);
Tailwind
colors: {
  custom: {
    50: '#e1c872',
    500: '#cdb22e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb22e;
$custom-light: #e1c872;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb22e",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 49.811,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76524,
    "c": 0.14458,
    "h": 96.9
  },
  "luminance": 0.45017
}

Semantic roles & 50–950 ramp

primary
#CDB22E
secondary
#8693D0
accent
#5DE641
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #CDB22E

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

Preview Lab → · Contrast checker → · Palette generator →

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