#C8CA3B#C8CA3B

#C8CA3B is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.3% C 0.158 H 110.3°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C8CA3B
RGBrgb(200, 202, 59)
HSLhsl(61, 57%, 51%)
HSVhsv(61, 71%, 79%)
CMYKcmyk(1%, 0%, 70.8%, 20.8%)
CIE-LABlab(78.95, -17.46, 66.99)
CIE-LCHlch(78.95, 69.23, 104.61°)
OKLaboklab(81.25% -0.0548 0.1485)
OKLCHoklch(81.25% 0.158 110.3)
XYZxyz(45.7309, 54.8375, 12.3126)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA3B #3D3BCA
analogous
#CA843B #C8CA3B #80CA3B
triadic
#C8CA3B #3BC8CA #CA3BC8
tetradic
#C8CA3B #3BCA84 #3D3BCA #CA3B80
square
#C8CA3B #3BCA84 #3D3BCA #CA3B80
split-complementary
#C8CA3B #3B80CA #843BCA
monochromatic
#6C6D1E #9C9D2B #C8CA3B #D6D76B #E3E49B

Accessibility & contrast

On white

1.75
#C8CA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#C8CA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA3B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA3B#FFFFFF#000000##000000
##C8CA3B1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC121
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#D6BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8ca3b;
/* rgb */ color: rgb(200, 202, 59);
/* oklch */ color: oklch(81.3% 0.158 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcd97a',
    500: '#c8ca3b',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca3b;
$custom-light: #dcd97a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca3b",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 59
  },
  "hsl": {
    "h": 60.839,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81252,
    "c": 0.15825,
    "h": 110.3
  },
  "luminance": 0.54836
}

Semantic roles & 50–950 ramp

primary
#C8CA3B
secondary
#343377
accent
#47E149
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8CA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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