#C8CA42#C8CA42

#C8CA42 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.3% C 0.154 H 110.2°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#C8CA42
RGBrgb(200, 202, 66)
HSLhsl(61, 56%, 53%)
HSVhsv(61, 67%, 79%)
CMYKcmyk(1%, 0%, 67.3%, 20.8%)
CIE-LABlab(78.99, -17.10, 64.46)
CIE-LCHlch(78.99, 66.69, 104.86°)
OKLaboklab(81.3% -0.0531 0.1443)
OKLCHoklch(81.3% 0.154 110.2)
XYZxyz(45.9248, 54.9150, 13.3337)
Luminance0.5491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA42 #4442CA
analogous
#CA8842 #C8CA42 #84CA42
triadic
#C8CA42 #42C8CA #CA42C8
tetradic
#C8CA42 #42CA88 #4442CA #CA4284
square
#C8CA42 #42CA88 #4442CA #CA4284
split-complementary
#C8CA42 #4284CA #8842CA
monochromatic
#717220 #A0A22D #C8CA42 #D6D772 #E4E5A2

Accessibility & contrast

On white

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

On black

11.98
#C8CA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA42
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA42#FFFFFF#000000##000000
##C8CA421.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ca42;
/* rgb */ color: rgb(200, 202, 66);
/* oklch */ color: oklch(81.3% 0.154 110.2);
Tailwind
colors: {
  custom: {
    50: '#dcd97e',
    500: '#c8ca42',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca42;
$custom-light: #dcd97e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca42",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 60.882,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81302,
    "c": 0.15377,
    "h": 110.2
  },
  "luminance": 0.54914
}

Semantic roles & 50–950 ramp

primary
#C8CA42
secondary
#36357B
accent
#48DF4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8CA42

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

Preview Lab → · Contrast checker → · Palette generator →

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