#CDBA50#CDBA50

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

Color values

HEX#CDBA50
RGBrgb(205, 186, 80)
HSLhsl(51, 56%, 56%)
HSVhsv(51, 61%, 80%)
CMYKcmyk(0%, 9.3%, 61%, 19.6%)
CIE-LABlab(75.25, -5.99, 54.83)
CIE-LCHlch(75.25, 55.16, 96.23°)
OKLaboklab(78.46% -0.0204 0.1259)
OKLCHoklch(78.46% 0.128 99.2)
XYZxyz(44.1855, 48.6780, 14.6562)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA50 #5063CD
analogous
#CD7B50 #CDBA50 #A1CD50
triadic
#CDBA50 #50CDBA #BA50CD
tetradic
#CDBA50 #50CD7B #5063CD #CD50A1
square
#CDBA50 #50CD7B #5063CD #CD50A1
split-complementary
#CDBA50 #50A1CD #7B50CD
monochromatic
#7E7124 #AE9B32 #CDBA50 #DBCD80 #E8E0AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA50#FFFFFF#000000##000000
##CDBA501.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)
#CAB544
Deuteranopia (green-blind)
#D0BC55
Tritanopia (blue-blind)
#DCAEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba50;
/* rgb */ color: rgb(205, 186, 80);
/* oklch */ color: oklch(78.5% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#dfce85',
    500: '#cdba50',
    950: '#000000',
  },
}
SCSS
$custom: #cdba50;
$custom-light: #dfce85;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba50",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 80
  },
  "hsl": {
    "h": 50.88,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78461,
    "c": 0.12754,
    "h": 99.2
  },
  "luminance": 0.48676
}

Semantic roles & 50–950 ramp

primary
#CDBA50
secondary
#A2AAD6
accent
#60DF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDBA50

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

Preview Lab → · Contrast checker → · Palette generator →

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