#CBC752#CBC752

#CBC752 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.0% C 0.138 H 107.3°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CBC752
RGBrgb(203, 199, 82)
HSLhsl(58, 54%, 56%)
HSVhsv(58, 60%, 80%)
CMYKcmyk(0%, 2%, 59.6%, 20.4%)
CIE-LABlab(78.55, -13.35, 57.52)
CIE-LCHlch(78.55, 59.05, 103.07°)
OKLaboklab(81.05% -0.041 0.1319)
OKLCHoklch(81.05% 0.138 107.3)
XYZxyz(46.5765, 54.1540, 15.9803)
Luminance0.5415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC752 #5256CB
analogous
#CB8B52 #CBC752 #92CB52
triadic
#CBC752 #52CBC7 #C752CB
tetradic
#CBC752 #52CB8B #5256CB #CB5292
square
#CBC752 #52CB8B #5256CB #CB5292
split-complementary
#CBC752 #5292CB #8B52CB
monochromatic
#7D7A26 #ACA834 #CBC752 #D9D681 #E7E5B0

Accessibility & contrast

On white

1.78
#CBC752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CBC752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC752
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC752#FFFFFF#000000##000000
##CBC7521.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C045
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#D9BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc752;
/* rgb */ color: rgb(203, 199, 82);
/* oklch */ color: oklch(81.0% 0.138 107.3);
Tailwind
colors: {
  custom: {
    50: '#ded787',
    500: '#cbc752',
    950: '#000000',
  },
}
SCSS
$custom: #cbc752;
$custom-light: #ded787;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc752",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 58.017,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81049,
    "c": 0.13817,
    "h": 107.3
  },
  "luminance": 0.54153
}

Semantic roles & 50–950 ramp

primary
#CBC752
secondary
#3C3F85
accent
#4FDD4B
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC752

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

Preview Lab → · Contrast checker → · Palette generator →

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