#CDBA54#CDBA54

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

Color values

HEX#CDBA54
RGBrgb(205, 186, 84)
HSLhsl(51, 55%, 57%)
HSVhsv(51, 59%, 80%)
CMYKcmyk(0%, 9.3%, 59%, 19.6%)
CIE-LABlab(75.29, -5.71, 53.06)
CIE-LCHlch(75.29, 53.37, 96.14°)
OKLaboklab(78.5% -0.0191 0.1226)
OKLCHoklch(78.5% 0.124 98.9)
XYZxyz(44.3377, 48.7389, 15.4579)
Luminance0.4874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA54 #5467CD
analogous
#CD7E54 #CDBA54 #A3CD54
triadic
#CDBA54 #54CDBA #BA54CD
tetradic
#CDBA54 #54CD7E #5467CD #CD54A3
square
#CDBA54 #54CD7E #5467CD #CD54A3
split-complementary
#CDBA54 #54A3CD #7E54CD
monochromatic
#817326 #B09D34 #CDBA54 #DBCD83 #E9E0B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDBA54#FFFFFF#000000##000000
##CDBA541.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)
#CAB549
Deuteranopia (green-blind)
#CFBC59
Tritanopia (blue-blind)
#DCAEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba54;
/* rgb */ color: rgb(205, 186, 84);
/* oklch */ color: oklch(78.5% 0.124 98.9);
Tailwind
colors: {
  custom: {
    50: '#dfce88',
    500: '#cdba54',
    950: '#000000',
  },
}
SCSS
$custom: #cdba54;
$custom-light: #dfce88;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba54",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 84
  },
  "hsl": {
    "h": 50.579,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78503,
    "c": 0.12412,
    "h": 98.9
  },
  "luminance": 0.48737
}

Semantic roles & 50–950 ramp

primary
#CDBA54
secondary
#A6ADD7
accent
#61DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDBA54

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

Preview Lab → · Contrast checker → · Palette generator →

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