#C8CB5A#C8CB5A

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

Color values

HEX#C8CB5A
RGBrgb(200, 203, 90)
HSLhsl(62, 52%, 57%)
HSVhsv(62, 56%, 80%)
CMYKcmyk(1.5%, 0%, 55.7%, 20.4%)
CIE-LABlab(79.46, -16.02, 54.92)
CIE-LCHlch(79.46, 57.21, 106.26°)
OKLaboklab(81.74% -0.0475 0.1275)
OKLCHoklch(81.74% 0.136 110.5)
XYZxyz(47.0220, 55.7305, 17.9509)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB5A #5D5ACB
analogous
#CB965A #C8CB5A #8FCB5A
triadic
#C8CB5A #5AC8CB #CB5AC8
tetradic
#C8CB5A #5ACB96 #5D5ACB #CB5A8F
square
#C8CB5A #5ACB96 #5D5ACB #CB5A8F
split-complementary
#C8CB5A #5A8FCB #965ACB
monochromatic
#7F8229 #ADB038 #C8CB5A #D8DA89 #E7E8B7

Accessibility & contrast

On white

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

On black

12.15
#C8CB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB5A
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB5A#FFFFFF#000000##000000
##C8CB5A1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34E
Deuteranopia (green-blind)
#DAC760
Tritanopia (blue-blind)
#D4C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cb5a;
/* rgb */ color: rgb(200, 203, 90);
/* oklch */ color: oklch(81.7% 0.136 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbda8c',
    500: '#c8cb5a',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb5a;
$custom-light: #dbda8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb5a",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 61.593,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81739,
    "c": 0.13603,
    "h": 110.5
  },
  "luminance": 0.55729
}

Semantic roles & 50–950 ramp

primary
#C8CB5A
secondary
#424089
accent
#4CDC50
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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