#CBC452#CBC452

#CBC452 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.4% C 0.135 H 105.8°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CBC452
RGBrgb(203, 196, 82)
HSLhsl(57, 54%, 56%)
HSVhsv(57, 60%, 80%)
CMYKcmyk(0%, 3.4%, 59.6%, 20.4%)
CIE-LABlab(77.75, -11.83, 56.64)
CIE-LCHlch(77.75, 57.87, 101.80°)
OKLaboklab(80.41% -0.0367 0.1301)
OKLCHoklch(80.41% 0.135 105.8)
XYZxyz(45.8930, 52.7871, 15.7525)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC452 #5259CB
analogous
#CB8752 #CBC452 #95CB52
triadic
#CBC452 #52CBC4 #C452CB
tetradic
#CBC452 #52CB87 #5259CB #CB5295
square
#CBC452 #52CB87 #5259CB #CB5295
split-complementary
#CBC452 #5295CB #8752CB
monochromatic
#7D7826 #ACA534 #CBC452 #D9D481 #E7E4B0

Accessibility & contrast

On white

1.82
#CBC452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#CBC452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC452
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC452#FFFFFF#000000##000000
##CBC4521.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#D6C258
Tritanopia (blue-blind)
#D9B8AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc452;
/* rgb */ color: rgb(203, 196, 82);
/* oklch */ color: oklch(80.4% 0.135 105.8);
Tailwind
colors: {
  custom: {
    50: '#ded587',
    500: '#cbc452',
    950: '#000000',
  },
}
SCSS
$custom: #cbc452;
$custom-light: #ded587;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc452",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 56.529,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8041,
    "c": 0.13515,
    "h": 105.8
  },
  "luminance": 0.52786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC452

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

Preview Lab → · Contrast checker → · Palette generator →

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