#CDBF52#CDBF52

#CDBF52 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.5% C 0.130 H 102.0°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#CDBF52
RGBrgb(205, 191, 82)
HSLhsl(53, 55%, 56%)
HSVhsv(53, 60%, 80%)
CMYKcmyk(0%, 6.8%, 60%, 19.6%)
CIE-LABlab(76.59, -8.44, 55.41)
CIE-LCHlch(76.59, 56.05, 98.66°)
OKLaboklab(79.53% -0.0271 0.1274)
OKLCHoklch(79.53% 0.13 102)
XYZxyz(45.3323, 50.8517, 15.4085)
Luminance0.5085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBF52 #5260CD
analogous
#CD8252 #CDBF52 #9ECD52
triadic
#CDBF52 #52CDBF #BF52CD
tetradic
#CDBF52 #52CD82 #5260CD #CD529E
square
#CDBF52 #52CD82 #5260CD #CD529E
split-complementary
#CDBF52 #529ECD #8252CD
monochromatic
#807525 #AFA133 #CDBF52 #DBD181 #E8E2B1

Accessibility & contrast

On white

1.88
#CDBF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#CDBF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBF52
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBF52#FFFFFF#000000##000000
##CDBF521.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB946
Deuteranopia (green-blind)
#D3C058
Tritanopia (blue-blind)
#DBB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdbf52;
/* rgb */ color: rgb(205, 191, 82);
/* oklch */ color: oklch(79.5% 0.130 102.0);
Tailwind
colors: {
  custom: {
    50: '#dfd287',
    500: '#cdbf52',
    950: '#000000',
  },
}
SCSS
$custom: #cdbf52;
$custom-light: #dfd287;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbf52",
  "rgb": {
    "r": 205,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 53.171,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79529,
    "c": 0.13027,
    "h": 102
  },
  "luminance": 0.5085
}

Semantic roles & 50–950 ramp

primary
#CDBF52
secondary
#3C4487
accent
#5ADE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDBF52

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

Preview Lab → · Contrast checker → · Palette generator →

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