#CDBC2E#CDBC2E

#CDBC2E is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.6% C 0.152 H 102.1°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CDBC2E
RGBrgb(205, 188, 46)
HSLhsl(54, 63%, 49%)
HSVhsv(54, 78%, 80%)
CMYKcmyk(0%, 8.3%, 77.6%, 19.6%)
CIE-LABlab(75.54, -8.80, 68.29)
CIE-LCHlch(75.54, 68.85, 97.34°)
OKLaboklab(78.61% -0.0319 0.1487)
OKLCHoklch(78.61% 0.152 102.1)
XYZxyz(43.6553, 49.1448, 9.7706)
Luminance0.4914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBC2E #2E3FCD
analogous
#CD6D2E #CDBC2E #8FCD2E
triadic
#CDBC2E #2ECDBC #BC2ECD
tetradic
#CDBC2E #2ECD6D #2E3FCD #CD2E8F
square
#CDBC2E #2ECD6D #2E3FCD #CD2E8F
split-complementary
#CDBC2E #2E8FCD #6D2ECD
monochromatic
#696018 #9B8E23 #CDBC2E #DBCD5D #E6DD8F

Accessibility & contrast

On white

1.94
#CDBC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#CDBC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBC2E
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBC2E#FFFFFF#000000##000000
##CDBC2E1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB607
Deuteranopia (green-blind)
#D3BD39
Tritanopia (blue-blind)
#DDAEA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdbc2e;
/* rgb */ color: rgb(205, 188, 46);
/* oklch */ color: oklch(78.6% 0.152 102.1);
Tailwind
colors: {
  custom: {
    50: '#e0cf73',
    500: '#cdbc2e',
    950: '#000000',
  },
}
SCSS
$custom: #cdbc2e;
$custom-light: #e0cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbc2e",
  "rgb": {
    "r": 205,
    "g": 188,
    "b": 46
  },
  "hsl": {
    "h": 53.585,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78615,
    "c": 0.15205,
    "h": 102.1
  },
  "luminance": 0.49143
}

Semantic roles & 50–950 ramp

primary
#CDBC2E
secondary
#868ED0
accent
#53E641
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CDBC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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