#CBCD52#CBCD52

#CBCD52 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.3% C 0.144 H 110.1°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CBCD52
RGBrgb(203, 205, 82)
HSLhsl(61, 55%, 56%)
HSVhsv(61, 60%, 80%)
CMYKcmyk(1%, 0%, 60%, 19.6%)
CIE-LABlab(80.16, -16.36, 59.28)
CIE-LCHlch(80.16, 61.50, 105.43°)
OKLaboklab(82.33% -0.0496 0.1357)
OKLCHoklch(82.33% 0.144 110.1)
XYZxyz(47.9843, 56.9696, 16.4495)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCD52 #5452CD
analogous
#CD9252 #CBCD52 #8ECD52
triadic
#CBCD52 #52CBCD #CD52CB
tetradic
#CBCD52 #52CD92 #5452CD #CD528E
square
#CBCD52 #52CD92 #5452CD #CD528E
split-complementary
#CBCD52 #528ECD #9252CD
monochromatic
#7E8025 #ADAF33 #CBCD52 #D9DB81 #E8E8B1

Accessibility & contrast

On white

1.69
#CBCD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#CBCD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCD52
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCD52#FFFFFF#000000##000000
##CBCD521.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC544
Deuteranopia (green-blind)
#DDC959
Tritanopia (blue-blind)
#D8C1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbcd52;
/* rgb */ color: rgb(203, 205, 82);
/* oklch */ color: oklch(82.3% 0.144 110.1);
Tailwind
colors: {
  custom: {
    50: '#dedc88',
    500: '#cbcd52',
    950: '#000000',
  },
}
SCSS
$custom: #cbcd52;
$custom-light: #dedc88;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcd52",
  "rgb": {
    "r": 203,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 60.976,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82334,
    "c": 0.14444,
    "h": 110.1
  },
  "luminance": 0.56968
}

Semantic roles & 50–950 ramp

primary
#CBCD52
secondary
#3D3C87
accent
#49DE4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBCD52

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

Preview Lab → · Contrast checker → · Palette generator →

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