#C8CA2E#C8CA2E

#C8CA2E is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.2% C 0.165 H 110.3°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#C8CA2E
RGBrgb(200, 202, 46)
HSLhsl(61, 63%, 49%)
HSVhsv(61, 77%, 79%)
CMYKcmyk(1%, 0%, 77.2%, 20.8%)
CIE-LABlab(78.88, -18.01, 71.14)
CIE-LCHlch(78.88, 73.38, 104.21°)
OKLaboklab(81.18% -0.0575 0.155)
OKLCHoklch(81.18% 0.165 110.3)
XYZxyz(45.4348, 54.7190, 10.7527)
Luminance0.5472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA2E #302ECA
analogous
#CA7E2E #C8CA2E #7ACA2E
triadic
#C8CA2E #2EC8CA #CA2EC8
tetradic
#C8CA2E #2ECA7E #302ECA #CA2E7A
square
#C8CA2E #2ECA7E #302ECA #CA2E7A
split-complementary
#C8CA2E #2E7ACA #7E2ECA
monochromatic
#656617 #979823 #C8CA2E #D8DA5B #E4E58D

Accessibility & contrast

On white

1.76
#C8CA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#C8CA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA2E
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA2E#FFFFFF#000000##000000
##C8CA2E1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#DCC53C
Tritanopia (blue-blind)
#D6BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8ca2e;
/* rgb */ color: rgb(200, 202, 46);
/* oklch */ color: oklch(81.2% 0.165 110.3);
Tailwind
colors: {
  custom: {
    50: '#ddd974',
    500: '#c8ca2e',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca2e;
$custom-light: #ddd974;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca2e",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 46
  },
  "hsl": {
    "h": 60.769,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.81175,
    "c": 0.16528,
    "h": 110.3
  },
  "luminance": 0.54718
}

Semantic roles & 50–950 ramp

primary
#C8CA2E
secondary
#2D2C70
accent
#42E644
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8CA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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