#CBC052#CBC052

#CBC052 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.6% C 0.131 H 103.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CBC052
RGBrgb(203, 192, 82)
HSLhsl(55, 54%, 56%)
HSVhsv(55, 60%, 80%)
CMYKcmyk(0%, 5.4%, 59.6%, 20.4%)
CIE-LABlab(76.68, -9.79, 55.47)
CIE-LCHlch(76.68, 56.33, 100.01°)
OKLaboklab(79.56% -0.0309 0.1276)
OKLCHoklch(79.56% 0.131 103.6)
XYZxyz(45.0028, 51.0066, 15.4557)
Luminance0.5101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC052 #525DCB
analogous
#CB8352 #CBC052 #9ACB52
triadic
#CBC052 #52CBC0 #C052CB
tetradic
#CBC052 #52CB83 #525DCB #CB529A
square
#CBC052 #52CB83 #525DCB #CB529A
split-complementary
#CBC052 #529ACB #8352CB
monochromatic
#7D7526 #ACA134 #CBC052 #D9D181 #E7E2B0

Accessibility & contrast

On white

1.87
#CBC052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CBC052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC052
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC052#FFFFFF#000000##000000
##CBC0521.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA46
Deuteranopia (green-blind)
#D3C058
Tritanopia (blue-blind)
#D9B4A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc052;
/* rgb */ color: rgb(203, 192, 82);
/* oklch */ color: oklch(79.6% 0.131 103.6);
Tailwind
colors: {
  custom: {
    50: '#ded287',
    500: '#cbc052',
    950: '#000000',
  },
}
SCSS
$custom: #cbc052;
$custom-light: #ded287;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc052",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 54.545,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79562,
    "c": 0.13126,
    "h": 103.6
  },
  "luminance": 0.51005
}

Semantic roles & 50–950 ramp

primary
#CBC052
secondary
#3C4385
accent
#58DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC052

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

Preview Lab → · Contrast checker → · Palette generator →

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