#CDBA58#CDBA58

#CDBA58 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.5% C 0.121 H 98.5°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CDBA58
RGBrgb(205, 186, 88)
HSLhsl(50, 54%, 57%)
HSVhsv(50, 57%, 80%)
CMYKcmyk(0%, 9.3%, 57.1%, 19.6%)
CIE-LABlab(75.33, -5.41, 51.25)
CIE-LCHlch(75.33, 51.54, 96.03°)
OKLaboklab(78.55% -0.0178 0.1193)
OKLCHoklch(78.55% 0.121 98.5)
XYZxyz(44.4989, 48.8034, 16.3067)
Luminance0.4880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA58 #586BCD
analogous
#CD7F58 #CDBA58 #A6CD58
triadic
#CDBA58 #58CDBA #BA58CD
tetradic
#CDBA58 #58CD7F #586BCD #CD58A6
square
#CDBA58 #58CD7F #586BCD #CD58A6
split-complementary
#CDBA58 #58A6CD #7F58CD
monochromatic
#837427 #B29E35 #CDBA58 #DBCD87 #E9E1B6

Accessibility & contrast

On white

1.95
#CDBA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#CDBA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA58
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA58#FFFFFF#000000##000000
##CDBA581.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64E
Deuteranopia (green-blind)
#CFBC5D
Tritanopia (blue-blind)
#DBAEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba58;
/* rgb */ color: rgb(205, 186, 88);
/* oklch */ color: oklch(78.5% 0.121 98.5);
Tailwind
colors: {
  custom: {
    50: '#dfce8a',
    500: '#cdba58',
    950: '#000000',
  },
}
SCSS
$custom: #cdba58;
$custom-light: #dfce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba58",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 88
  },
  "hsl": {
    "h": 50.256,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78548,
    "c": 0.12057,
    "h": 98.5
  },
  "luminance": 0.48802
}

Semantic roles & 50–950 ramp

primary
#CDBA58
secondary
#A9B0D8
accent
#62DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CDBA58

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

Preview Lab → · Contrast checker → · Palette generator →

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