#CDBA52#CDBA52

#CDBA52 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.126 H 99.0°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CDBA52
RGBrgb(205, 186, 82)
HSLhsl(51, 55%, 56%)
HSVhsv(51, 60%, 80%)
CMYKcmyk(0%, 9.3%, 60%, 19.6%)
CIE-LABlab(75.27, -5.85, 53.95)
CIE-LCHlch(75.27, 54.27, 96.19°)
OKLaboklab(78.48% -0.0197 0.1243)
OKLCHoklch(78.48% 0.126 99)
XYZxyz(44.2605, 48.7080, 15.0512)
Luminance0.4871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA52 #5265CD
analogous
#CD7D52 #CDBA52 #A3CD52
triadic
#CDBA52 #52CDBA #BA52CD
tetradic
#CDBA52 #52CD7D #5265CD #CD52A3
square
#CDBA52 #52CD7D #5265CD #CD52A3
split-complementary
#CDBA52 #52A3CD #7D52CD
monochromatic
#807225 #AF9C33 #CDBA52 #DBCD81 #E8E0B1

Accessibility & contrast

On white

1.96
#CDBA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#CDBA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA52
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA52#FFFFFF#000000##000000
##CDBA521.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#D0BC57
Tritanopia (blue-blind)
#DCAEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba52;
/* rgb */ color: rgb(205, 186, 82);
/* oklch */ color: oklch(78.5% 0.126 99.0);
Tailwind
colors: {
  custom: {
    50: '#dfce86',
    500: '#cdba52',
    950: '#000000',
  },
}
SCSS
$custom: #cdba52;
$custom-light: #dfce86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba52",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 50.732,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78482,
    "c": 0.12585,
    "h": 99
  },
  "luminance": 0.48706
}

Semantic roles & 50–950 ramp

primary
#CDBA52
secondary
#A4ACD7
accent
#60DE49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBA52

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

Preview Lab → · Contrast checker → · Palette generator →

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