#CBC551#CBC551

#CBC551 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.6% C 0.137 H 106.3°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CBC551
RGBrgb(203, 197, 81)
HSLhsl(57, 54%, 56%)
HSVhsv(57, 60%, 80%)
CMYKcmyk(0%, 3%, 60.1%, 20.4%)
CIE-LABlab(78.01, -12.41, 57.36)
CIE-LCHlch(78.01, 58.69, 102.21°)
OKLaboklab(80.61% -0.0385 0.1315)
OKLCHoklch(80.61% 0.137 106.3)
XYZxyz(46.0816, 53.2246, 15.6290)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC551 #5157CB
analogous
#CB8851 #CBC551 #94CB51
triadic
#CBC551 #51CBC5 #C551CB
tetradic
#CBC551 #51CB88 #5157CB #CB5194
square
#CBC551 #51CB88 #5157CB #CB5194
split-complementary
#CBC551 #5194CB #8851CB
monochromatic
#7C7825 #ACA633 #CBC551 #D9D580 #E7E4AF

Accessibility & contrast

On white

1.80
#CBC551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CBC551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC551
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC551#FFFFFF#000000##000000
##CBC5511.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE44
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#D9B9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc551;
/* rgb */ color: rgb(203, 197, 81);
/* oklch */ color: oklch(80.6% 0.137 106.3);
Tailwind
colors: {
  custom: {
    50: '#ded686',
    500: '#cbc551',
    950: '#000000',
  },
}
SCSS
$custom: #cbc551;
$custom-light: #ded686;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc551",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 81
  },
  "hsl": {
    "h": 57.049,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80613,
    "c": 0.13698,
    "h": 106.3
  },
  "luminance": 0.53223
}

Semantic roles & 50–950 ramp

primary
#CBC551
secondary
#3C3F84
accent
#52DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC551

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

Preview Lab → · Contrast checker → · Palette generator →

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