#CDBE52#CDBE52

#CDBE52 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.3% C 0.129 H 101.4°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#CDBE52
RGBrgb(205, 190, 82)
HSLhsl(53, 55%, 56%)
HSVhsv(53, 60%, 80%)
CMYKcmyk(0%, 7.3%, 60%, 19.6%)
CIE-LABlab(76.32, -7.92, 55.12)
CIE-LCHlch(76.32, 55.69, 98.18°)
OKLaboklab(79.32% -0.0257 0.1268)
OKLCHoklch(79.32% 0.129 101.4)
XYZxyz(45.1150, 50.4170, 15.3360)
Luminance0.5041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBE52 #5261CD
analogous
#CD8152 #CDBE52 #9FCD52
triadic
#CDBE52 #52CDBE #BE52CD
tetradic
#CDBE52 #52CD81 #5261CD #CD529F
square
#CDBE52 #52CD81 #5261CD #CD529F
split-complementary
#CDBE52 #529FCD #8152CD
monochromatic
#807525 #AFA033 #CDBE52 #DBD081 #E8E2B1

Accessibility & contrast

On white

1.89
#CDBE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#CDBE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBE52
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBE52#FFFFFF#000000##000000
##CDBE521.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB946
Deuteranopia (green-blind)
#D3BF58
Tritanopia (blue-blind)
#DBB2A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cdbe52;
/* rgb */ color: rgb(205, 190, 82);
/* oklch */ color: oklch(79.3% 0.129 101.4);
Tailwind
colors: {
  custom: {
    50: '#dfd187',
    500: '#cdbe52',
    950: '#000000',
  },
}
SCSS
$custom: #cdbe52;
$custom-light: #dfd187;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbe52",
  "rgb": {
    "r": 205,
    "g": 190,
    "b": 82
  },
  "hsl": {
    "h": 52.683,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79319,
    "c": 0.12936,
    "h": 101.4
  },
  "luminance": 0.50415
}

Semantic roles & 50–950 ramp

primary
#CDBE52
secondary
#3C4587
accent
#5CDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDBE52

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

Preview Lab → · Contrast checker → · Palette generator →

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