#CDBA56#CDBA56

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

Color values

HEX#CDBA56
RGBrgb(205, 186, 86)
HSLhsl(50, 54%, 57%)
HSVhsv(50, 58%, 80%)
CMYKcmyk(0%, 9.3%, 58%, 19.6%)
CIE-LABlab(75.31, -5.56, 52.16)
CIE-LCHlch(75.31, 52.46, 96.09°)
OKLaboklab(78.53% -0.0185 0.121)
OKLCHoklch(78.53% 0.122 98.7)
XYZxyz(44.4171, 48.7707, 15.8763)
Luminance0.4877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA56 #5669CD
analogous
#CD7F56 #CDBA56 #A5CD56
triadic
#CDBA56 #56CDBA #BA56CD
tetradic
#CDBA56 #56CD7F #5669CD #CD56A5
square
#CDBA56 #56CD7F #5669CD #CD56A5
split-complementary
#CDBA56 #56A5CD #7F56CD
monochromatic
#827326 #B19D34 #CDBA56 #DBCD85 #E9E1B4

Accessibility & contrast

On white

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

On black

10.75
#CDBA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA56
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA56#FFFFFF#000000##000000
##CDBA561.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64C
Deuteranopia (green-blind)
#CFBC5B
Tritanopia (blue-blind)
#DCAEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba56;
/* rgb */ color: rgb(205, 186, 86);
/* oklch */ color: oklch(78.5% 0.122 98.7);
Tailwind
colors: {
  custom: {
    50: '#dfce89',
    500: '#cdba56',
    950: '#000000',
  },
}
SCSS
$custom: #cdba56;
$custom-light: #dfce89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba56",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 50.42,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78525,
    "c": 0.12236,
    "h": 98.7
  },
  "luminance": 0.48769
}

Semantic roles & 50–950 ramp

primary
#CDBA56
secondary
#A7AFD8
accent
#62DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDBA56

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

Preview Lab → · Contrast checker → · Palette generator →

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