#C8CB54#C8CB54

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

Color values

HEX#C8CB54
RGBrgb(200, 203, 84)
HSLhsl(62, 53%, 56%)
HSVhsv(62, 59%, 80%)
CMYKcmyk(1.5%, 0%, 58.6%, 20.4%)
CIE-LABlab(79.40, -16.46, 57.52)
CIE-LCHlch(79.40, 59.83, 105.97°)
OKLaboklab(81.68% -0.0494 0.1323)
OKLCHoklch(81.68% 0.141 110.5)
XYZxyz(46.7769, 55.6325, 16.6598)
Luminance0.5563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB54 #5754CB
analogous
#CB9354 #C8CB54 #8DCB54
triadic
#C8CB54 #54C8CB #CB54C8
tetradic
#C8CB54 #54CB93 #5754CB #CB548D
square
#C8CB54 #54CB93 #5754CB #CB548D
split-complementary
#C8CB54 #548DCB #9354CB
monochromatic
#7C7E26 #AAAD35 #C8CB54 #D7D983 #E6E8B2

Accessibility & contrast

On white

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

On black

12.13
#C8CB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB54
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB54#FFFFFF#000000##000000
##C8CB541.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC347
Deuteranopia (green-blind)
#DBC65B
Tritanopia (blue-blind)
#D5BFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cb54;
/* rgb */ color: rgb(200, 203, 84);
/* oklch */ color: oklch(81.7% 0.141 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbda89',
    500: '#c8cb54',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb54;
$custom-light: #dbda89;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb54",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 61.513,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81676,
    "c": 0.1412,
    "h": 110.5
  },
  "luminance": 0.55631
}

Semantic roles & 50–950 ramp

primary
#C8CB54
secondary
#3F3D86
accent
#4BDD4F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CB54

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

Preview Lab → · Contrast checker → · Palette generator →

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