#CBC651#CBC651

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

Color values

HEX#CBC651
RGBrgb(203, 198, 81)
HSLhsl(58, 54%, 56%)
HSVhsv(58, 60%, 80%)
CMYKcmyk(0%, 2.5%, 60.1%, 20.4%)
CIE-LABlab(78.27, -12.92, 57.66)
CIE-LCHlch(78.27, 59.08, 102.63°)
OKLaboklab(80.83% -0.0399 0.1321)
OKLCHoklch(80.83% 0.138 106.8)
XYZxyz(46.3094, 53.6802, 15.7049)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC651 #5156CB
analogous
#CB8951 #CBC651 #93CB51
triadic
#CBC651 #51CBC6 #C651CB
tetradic
#CBC651 #51CB89 #5156CB #CB5193
square
#CBC651 #51CB89 #5156CB #CB5193
split-complementary
#CBC651 #5193CB #8951CB
monochromatic
#7C7925 #ACA733 #CBC651 #D9D580 #E7E5AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC651#FFFFFF#000000##000000
##CBC6511.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)
#D5BF44
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#D9BAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc651;
/* rgb */ color: rgb(203, 198, 81);
/* oklch */ color: oklch(80.8% 0.138 106.8);
Tailwind
colors: {
  custom: {
    50: '#ded787',
    500: '#cbc651',
    950: '#000000',
  },
}
SCSS
$custom: #cbc651;
$custom-light: #ded787;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc651",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 81
  },
  "hsl": {
    "h": 57.541,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80826,
    "c": 0.13798,
    "h": 106.8
  },
  "luminance": 0.53679
}

Semantic roles & 50–950 ramp

primary
#CBC651
secondary
#3C3F84
accent
#50DD4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC651

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

Preview Lab → · Contrast checker → · Palette generator →

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