#CDBD54#CDBD54

#CDBD54 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.1% C 0.127 H 100.7°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#CDBD54
RGBrgb(205, 189, 84)
HSLhsl(52, 55%, 57%)
HSVhsv(52, 59%, 80%)
CMYKcmyk(0%, 7.8%, 59%, 19.6%)
CIE-LABlab(76.08, -7.26, 53.95)
CIE-LCHlch(76.08, 54.43, 97.67°)
OKLaboklab(79.13% -0.0236 0.1245)
OKLCHoklch(79.13% 0.127 100.7)
XYZxyz(44.9763, 50.0162, 15.6708)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBD54 #5464CD
analogous
#CD8154 #CDBD54 #A1CD54
triadic
#CDBD54 #54CDBD #BD54CD
tetradic
#CDBD54 #54CD81 #5464CD #CD54A1
square
#CDBD54 #54CD81 #5464CD #CD54A1
split-complementary
#CDBD54 #54A1CD #8154CD
monochromatic
#817526 #B0A034 #CDBD54 #DBCF83 #E9E2B3

Accessibility & contrast

On white

1.91
#CDBD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#CDBD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBD54
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBD54#FFFFFF#000000##000000
##CDBD541.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB849
Deuteranopia (green-blind)
#D2BE59
Tritanopia (blue-blind)
#DBB1A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cdbd54;
/* rgb */ color: rgb(205, 189, 84);
/* oklch */ color: oklch(79.1% 0.127 100.7);
Tailwind
colors: {
  custom: {
    50: '#dfd088',
    500: '#cdbd54',
    950: '#000000',
  },
}
SCSS
$custom: #cdbd54;
$custom-light: #dfd088;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbd54",
  "rgb": {
    "r": 205,
    "g": 189,
    "b": 84
  },
  "hsl": {
    "h": 52.066,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7913,
    "c": 0.12675,
    "h": 100.7
  },
  "luminance": 0.50014
}

Semantic roles & 50–950 ramp

primary
#CDBD54
secondary
#3D4788
accent
#5DDE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16130C
muted
#84837F

Preview Lab

Preview with #CDBD54

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

Preview Lab → · Contrast checker → · Palette generator →

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