#C8CA30#C8CA30

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

Color values

HEX#C8CA30
RGBrgb(200, 202, 48)
HSLhsl(61, 62%, 49%)
HSVhsv(61, 76%, 79%)
CMYKcmyk(1%, 0%, 76.2%, 20.8%)
CIE-LABlab(78.89, -17.94, 70.55)
CIE-LCHlch(78.89, 72.80, 104.27°)
OKLaboklab(81.19% -0.0571 0.1541)
OKLCHoklch(81.19% 0.164 110.3)
XYZxyz(45.4751, 54.7351, 10.9652)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA30 #3230CA
analogous
#CA7F30 #C8CA30 #7BCA30
triadic
#C8CA30 #30C8CA #CA30C8
tetradic
#C8CA30 #30CA7F #3230CA #CA307B
square
#C8CA30 #30CA7F #3230CA #CA307B
split-complementary
#C8CA30 #307BCA #7F30CA
monochromatic
#666718 #979924 #C8CA30 #D7D95E #E3E590

Accessibility & contrast

On white

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

On black

11.95
#C8CA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA30
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA30#FFFFFF#000000##000000
##C8CA301.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ca30;
/* rgb */ color: rgb(200, 202, 48);
/* oklch */ color: oklch(81.2% 0.164 110.3);
Tailwind
colors: {
  custom: {
    50: '#ddd975',
    500: '#c8ca30',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca30;
$custom-light: #ddd975;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca30",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 48
  },
  "hsl": {
    "h": 60.779,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.81186,
    "c": 0.16431,
    "h": 110.3
  },
  "luminance": 0.54734
}

Semantic roles & 50–950 ramp

primary
#C8CA30
secondary
#2E2D71
accent
#43E545
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8CA30

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

Preview Lab → · Contrast checker → · Palette generator →

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