#CDB92E#CDB92E

#CDB92E is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.150 H 100.6°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CDB92E
RGBrgb(205, 185, 46)
HSLhsl(52, 63%, 49%)
HSVhsv(52, 78%, 80%)
CMYKcmyk(0%, 9.8%, 77.6%, 19.6%)
CIE-LABlab(74.75, -7.25, 67.57)
CIE-LCHlch(74.75, 67.96, 96.12°)
OKLaboklab(77.99% -0.0276 0.1471)
OKLCHoklch(77.99% 0.15 100.6)
XYZxyz(43.0211, 47.8764, 9.5592)
Luminance0.4787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB92E #2E42CD
analogous
#CD6A2E #CDB92E #92CD2E
triadic
#CDB92E #2ECDB9 #B92ECD
tetradic
#CDB92E #2ECD6A #2E42CD #CD2E92
square
#CDB92E #2ECD6A #2E42CD #CD2E92
split-complementary
#CDB92E #2E92CD #6A2ECD
monochromatic
#695F18 #9B8C23 #CDB92E #DBCB5D #E6DB8F

Accessibility & contrast

On white

1.99
#CDB92E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#CDB92E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB92E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB92E#FFFFFF#000000##000000
##CDB92E1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB40A
Deuteranopia (green-blind)
#D1BB38
Tritanopia (blue-blind)
#DDAB9F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb92e;
/* rgb */ color: rgb(205, 185, 46);
/* oklch */ color: oklch(78.0% 0.150 100.6);
Tailwind
colors: {
  custom: {
    50: '#e0cd72',
    500: '#cdb92e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb92e;
$custom-light: #e0cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb92e",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 46
  },
  "hsl": {
    "h": 52.453,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77985,
    "c": 0.14968,
    "h": 100.6
  },
  "luminance": 0.47874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB92E

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

Preview Lab → · Contrast checker → · Palette generator →

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