#CDBA57#CDBA57

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

Color values

HEX#CDBA57
RGBrgb(205, 186, 87)
HSLhsl(50, 54%, 57%)
HSVhsv(50, 58%, 80%)
CMYKcmyk(0%, 9.3%, 57.6%, 19.6%)
CIE-LABlab(75.32, -5.49, 51.71)
CIE-LCHlch(75.32, 52.00, 96.06°)
OKLaboklab(78.54% -0.0181 0.1201)
OKLCHoklch(78.54% 0.121 98.6)
XYZxyz(44.4577, 48.7869, 16.0900)
Luminance0.4879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA57 #576ACD
analogous
#CD7F57 #CDBA57 #A5CD57
triadic
#CDBA57 #57CDBA #BA57CD
tetradic
#CDBA57 #57CD7F #576ACD #CD57A5
square
#CDBA57 #57CD7F #576ACD #CD57A5
split-complementary
#CDBA57 #57A5CD #7F57CD
monochromatic
#837427 #B29E35 #CDBA57 #DBCD86 #E9E1B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA57#FFFFFF#000000##000000
##CDBA571.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)
#CAB64D
Deuteranopia (green-blind)
#CFBC5C
Tritanopia (blue-blind)
#DBAEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba57;
/* rgb */ color: rgb(205, 186, 87);
/* oklch */ color: oklch(78.5% 0.121 98.6);
Tailwind
colors: {
  custom: {
    50: '#dfce8a',
    500: '#cdba57',
    950: '#000000',
  },
}
SCSS
$custom: #cdba57;
$custom-light: #dfce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba57",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 87
  },
  "hsl": {
    "h": 50.339,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78537,
    "c": 0.12147,
    "h": 98.6
  },
  "luminance": 0.48785
}

Semantic roles & 50–950 ramp

primary
#CDBA57
secondary
#A8B0D8
accent
#62DD4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDBA57

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

Preview Lab → · Contrast checker → · Palette generator →

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