#CBC352#CBC352

#CBC352 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.134 H 105.2°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CBC352
RGBrgb(203, 195, 82)
HSLhsl(56, 54%, 56%)
HSVhsv(56, 60%, 80%)
CMYKcmyk(0%, 3.9%, 59.6%, 20.4%)
CIE-LABlab(77.48, -11.32, 56.35)
CIE-LCHlch(77.48, 57.48, 101.36°)
OKLaboklab(80.2% -0.0353 0.1295)
OKLCHoklch(80.2% 0.134 105.2)
XYZxyz(45.6682, 52.3375, 15.6775)
Luminance0.5234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC352 #525ACB
analogous
#CB8652 #CBC352 #96CB52
triadic
#CBC352 #52CBC3 #C352CB
tetradic
#CBC352 #52CB86 #525ACB #CB5296
square
#CBC352 #52CB86 #525ACB #CB5296
split-complementary
#CBC352 #5296CB #8652CB
monochromatic
#7D7726 #ACA434 #CBC352 #D9D381 #E7E4B0

Accessibility & contrast

On white

1.83
#CBC352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CBC352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC352
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC352#FFFFFF#000000##000000
##CBC3521.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC45
Deuteranopia (green-blind)
#D6C258
Tritanopia (blue-blind)
#D9B7AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc352;
/* rgb */ color: rgb(203, 195, 82);
/* oklch */ color: oklch(80.2% 0.134 105.2);
Tailwind
colors: {
  custom: {
    50: '#ded487',
    500: '#cbc352',
    950: '#000000',
  },
}
SCSS
$custom: #cbc352;
$custom-light: #ded487;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc352",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 56.033,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80198,
    "c": 0.13417,
    "h": 105.2
  },
  "luminance": 0.52336
}

Semantic roles & 50–950 ramp

primary
#CBC352
secondary
#3C4185
accent
#54DD4B
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC352

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

Preview Lab → · Contrast checker → · Palette generator →

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