#CDBA51#CDBA51

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

Color values

HEX#CDBA51
RGBrgb(205, 186, 81)
HSLhsl(51, 55%, 56%)
HSVhsv(51, 60%, 80%)
CMYKcmyk(0%, 9.3%, 60.5%, 19.6%)
CIE-LABlab(75.26, -5.92, 54.39)
CIE-LCHlch(75.26, 54.71, 96.21°)
OKLaboklab(78.47% -0.0201 0.1251)
OKLCHoklch(78.47% 0.127 99.1)
XYZxyz(44.2227, 48.6929, 14.8523)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA51 #5164CD
analogous
#CD7C51 #CDBA51 #A2CD51
triadic
#CDBA51 #51CDBA #BA51CD
tetradic
#CDBA51 #51CD7C #5164CD #CD51A2
square
#CDBA51 #51CD7C #5164CD #CD51A2
split-complementary
#CDBA51 #51A2CD #7C51CD
monochromatic
#7F7125 #AF9C32 #CDBA51 #DBCD81 #E8E0B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA51#FFFFFF#000000##000000
##CDBA511.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)
#CAB546
Deuteranopia (green-blind)
#D0BC56
Tritanopia (blue-blind)
#DCAEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba51;
/* rgb */ color: rgb(205, 186, 81);
/* oklch */ color: oklch(78.5% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#dfce86',
    500: '#cdba51',
    950: '#000000',
  },
}
SCSS
$custom: #cdba51;
$custom-light: #dfce86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba51",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 81
  },
  "hsl": {
    "h": 50.806,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78471,
    "c": 0.1267,
    "h": 99.1
  },
  "luminance": 0.48691
}

Semantic roles & 50–950 ramp

primary
#CDBA51
secondary
#A3ABD7
accent
#60DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBA51

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

Preview Lab → · Contrast checker → · Palette generator →

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