#CBC952#CBC952

#CBC952 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.140 H 108.2°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CBC952
RGBrgb(203, 201, 82)
HSLhsl(59, 54%, 56%)
HSVhsv(59, 60%, 80%)
CMYKcmyk(0%, 1%, 59.6%, 20.4%)
CIE-LABlab(79.09, -14.36, 58.11)
CIE-LCHlch(79.09, 59.86, 103.88°)
OKLaboklab(81.48% -0.0439 0.1332)
OKLCHoklch(81.48% 0.14 108.2)
XYZxyz(47.0397, 55.0803, 16.1347)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC952 #5254CB
analogous
#CB8C52 #CBC952 #90CB52
triadic
#CBC952 #52CBC9 #C952CB
tetradic
#CBC952 #52CB8C #5254CB #CB5290
square
#CBC952 #52CB8C #5254CB #CB5290
split-complementary
#CBC952 #5290CB #8C52CB
monochromatic
#7D7C26 #ACAA34 #CBC952 #D9D881 #E7E6B0

Accessibility & contrast

On white

1.75
#CBC952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CBC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC952
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC952#FFFFFF#000000##000000
##CBC9521.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C144
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#D8BDB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc952;
/* rgb */ color: rgb(203, 201, 82);
/* oklch */ color: oklch(81.5% 0.140 108.2);
Tailwind
colors: {
  custom: {
    50: '#ded987',
    500: '#cbc952',
    950: '#000000',
  },
}
SCSS
$custom: #cbc952;
$custom-light: #ded987;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc952",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 59.008,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81476,
    "c": 0.14024,
    "h": 108.2
  },
  "luminance": 0.55079
}

Semantic roles & 50–950 ramp

primary
#CBC952
secondary
#3C3D85
accent
#4DDD4B
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC952

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

Preview Lab → · Contrast checker → · Palette generator →

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