#CBC652#CBC652

#CBC652 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.137 H 106.8°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CBC652
RGBrgb(203, 198, 82)
HSLhsl(58, 54%, 56%)
HSVhsv(58, 60%, 80%)
CMYKcmyk(0%, 2.5%, 59.6%, 20.4%)
CIE-LABlab(78.28, -12.85, 57.23)
CIE-LCHlch(78.28, 58.65, 102.65°)
OKLaboklab(80.84% -0.0396 0.1313)
OKLCHoklch(80.84% 0.137 106.8)
XYZxyz(46.3472, 53.6953, 15.9038)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC652 #5257CB
analogous
#CB8952 #CBC652 #93CB52
triadic
#CBC652 #52CBC6 #C652CB
tetradic
#CBC652 #52CB89 #5257CB #CB5293
square
#CBC652 #52CB89 #5257CB #CB5293
split-complementary
#CBC652 #5293CB #8952CB
monochromatic
#7D7926 #ACA734 #CBC652 #D9D681 #E7E5B0

Accessibility & contrast

On white

1.79
#CBC652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CBC652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC652
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC652#FFFFFF#000000##000000
##CBC6521.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#D9BAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc652;
/* rgb */ color: rgb(203, 198, 82);
/* oklch */ color: oklch(80.8% 0.137 106.8);
Tailwind
colors: {
  custom: {
    50: '#ded787',
    500: '#cbc652',
    950: '#000000',
  },
}
SCSS
$custom: #cbc652;
$custom-light: #ded787;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc652",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 57.521,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80836,
    "c": 0.13716,
    "h": 106.8
  },
  "luminance": 0.53694
}

Semantic roles & 50–950 ramp

primary
#CBC652
secondary
#3C3F85
accent
#51DD4B
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC652

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

Preview Lab → · Contrast checker → · Palette generator →

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