#CBC552#CBC552

#CBC552 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.6% C 0.136 H 106.3°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CBC552
RGBrgb(203, 197, 82)
HSLhsl(57, 54%, 56%)
HSVhsv(57, 60%, 80%)
CMYKcmyk(0%, 3%, 59.6%, 20.4%)
CIE-LABlab(78.02, -12.34, 56.94)
CIE-LCHlch(78.02, 58.26, 102.23°)
OKLaboklab(80.62% -0.0382 0.1307)
OKLCHoklch(80.62% 0.136 106.3)
XYZxyz(46.1194, 53.2397, 15.8279)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC552 #5258CB
analogous
#CB8852 #CBC552 #94CB52
triadic
#CBC552 #52CBC5 #C552CB
tetradic
#CBC552 #52CB88 #5258CB #CB5294
square
#CBC552 #52CB88 #5258CB #CB5294
split-complementary
#CBC552 #5294CB #8852CB
monochromatic
#7D7926 #ACA634 #CBC552 #D9D581 #E7E5B0

Accessibility & contrast

On white

1.80
#CBC552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CBC552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC552
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC552#FFFFFF#000000##000000
##CBC5521.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#D9B9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc552;
/* rgb */ color: rgb(203, 197, 82);
/* oklch */ color: oklch(80.6% 0.136 106.3);
Tailwind
colors: {
  custom: {
    50: '#ded687',
    500: '#cbc552',
    950: '#000000',
  },
}
SCSS
$custom: #cbc552;
$custom-light: #ded687;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc552",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 57.025,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80623,
    "c": 0.13615,
    "h": 106.3
  },
  "luminance": 0.53238
}

Semantic roles & 50–950 ramp

primary
#CBC552
secondary
#3C4085
accent
#52DD4B
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC552

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

Preview Lab → · Contrast checker → · Palette generator →

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