#C8CB52#C8CB52

#C8CB52 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.143 H 110.5°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C8CB52
RGBrgb(200, 203, 82)
HSLhsl(61, 54%, 56%)
HSVhsv(61, 60%, 80%)
CMYKcmyk(1.5%, 0%, 59.6%, 20.4%)
CIE-LABlab(79.39, -16.61, 58.37)
CIE-LCHlch(79.39, 60.68, 105.88°)
OKLaboklab(81.66% -0.0501 0.1338)
OKLCHoklch(81.66% 0.143 110.5)
XYZxyz(46.6996, 55.6016, 16.2532)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB52 #5552CB
analogous
#CB9152 #C8CB52 #8BCB52
triadic
#C8CB52 #52C8CB #CB52C8
tetradic
#C8CB52 #52CB91 #5552CB #CB528B
square
#C8CB52 #52CB91 #5552CB #CB528B
split-complementary
#C8CB52 #528BCB #9152CB
monochromatic
#7B7D26 #A9AC34 #C8CB52 #D7D981 #E6E7B0

Accessibility & contrast

On white

1.73
#C8CB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#C8CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB52
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB52#FFFFFF#000000##000000
##C8CB521.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#DBC659
Tritanopia (blue-blind)
#D5BFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cb52;
/* rgb */ color: rgb(200, 203, 82);
/* oklch */ color: oklch(81.7% 0.143 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbda87',
    500: '#c8cb52',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb52;
$custom-light: #dbda87;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb52",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 61.488,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81656,
    "c": 0.14286,
    "h": 110.5
  },
  "luminance": 0.556
}

Semantic roles & 50–950 ramp

primary
#C8CB52
secondary
#3E3C85
accent
#4BDD4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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