#CDBD2E#CDBD2E

#CDBD2E is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.8% C 0.153 H 102.6°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CDBD2E
RGBrgb(205, 189, 46)
HSLhsl(54, 63%, 49%)
HSVhsv(54, 78%, 80%)
CMYKcmyk(0%, 7.8%, 77.6%, 19.6%)
CIE-LABlab(75.81, -9.31, 68.53)
CIE-LCHlch(75.81, 69.16, 97.74°)
OKLaboklab(78.83% -0.0334 0.1492)
OKLCHoklch(78.83% 0.153 102.6)
XYZxyz(43.8696, 49.5735, 9.8421)
Luminance0.4957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBD2E #2E3ECD
analogous
#CD6D2E #CDBD2E #8ECD2E
triadic
#CDBD2E #2ECDBD #BD2ECD
tetradic
#CDBD2E #2ECD6D #2E3ECD #CD2E8E
square
#CDBD2E #2ECD6D #2E3ECD #CD2E8E
split-complementary
#CDBD2E #2E8ECD #6D2ECD
monochromatic
#696118 #9B8F23 #CDBD2E #DBCE5D #E6DD8F

Accessibility & contrast

On white

1.92
#CDBD2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CDBD2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBD2E
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBD2E#FFFFFF#000000##000000
##CDBD2E1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB706
Deuteranopia (green-blind)
#D4BE39
Tritanopia (blue-blind)
#DDAFA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdbd2e;
/* rgb */ color: rgb(205, 189, 46);
/* oklch */ color: oklch(78.8% 0.153 102.6);
Tailwind
colors: {
  custom: {
    50: '#e0d073',
    500: '#cdbd2e',
    950: '#000000',
  },
}
SCSS
$custom: #cdbd2e;
$custom-light: #e0d073;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbd2e",
  "rgb": {
    "r": 205,
    "g": 189,
    "b": 46
  },
  "hsl": {
    "h": 53.962,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78826,
    "c": 0.15287,
    "h": 102.6
  },
  "luminance": 0.49572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDBD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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