#C8CB3A#C8CB3A

#C8CB3A is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.5% C 0.160 H 110.7°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C8CB3A
RGBrgb(200, 203, 58)
HSLhsl(61, 58%, 51%)
HSVhsv(61, 71%, 80%)
CMYKcmyk(1.5%, 0%, 71.4%, 20.4%)
CIE-LABlab(79.21, -18.00, 67.59)
CIE-LCHlch(79.21, 69.95, 104.92°)
OKLaboklab(81.46% -0.0564 0.1496)
OKLCHoklch(81.46% 0.16 110.7)
XYZxyz(45.9406, 55.2980, 12.2557)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB3A #3D3ACB
analogous
#CB853A #C8CB3A #7FCB3A
triadic
#C8CB3A #3AC8CB #CB3AC8
tetradic
#C8CB3A #3ACB85 #3D3ACB #CB3A7F
square
#C8CB3A #3ACB85 #3D3ACB #CB3A7F
split-complementary
#C8CB3A #3A7FCB #853ACB
monochromatic
#6C6E1D #9C9E2A #C8CB3A #D6D86A #E3E59B

Accessibility & contrast

On white

1.74
#C8CB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#C8CB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB3A
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB3A#FFFFFF#000000##000000
##C8CB3A1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21F
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#D6BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8cb3a;
/* rgb */ color: rgb(200, 203, 58);
/* oklch */ color: oklch(81.5% 0.160 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcda7a',
    500: '#c8cb3a',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb3a;
$custom-light: #dcda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb3a",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 61.241,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81462,
    "c": 0.15985,
    "h": 110.7
  },
  "luminance": 0.55297
}

Semantic roles & 50–950 ramp

primary
#C8CB3A
secondary
#343277
accent
#46E14A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8CB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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