#C8D12C#C8D12C

#C8D12C is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.7% C 0.173 H 112.9°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#C8D12C
RGBrgb(200, 209, 44)
HSLhsl(63, 65%, 50%)
HSVhsv(63, 79%, 82%)
CMYKcmyk(4.3%, 0%, 78.9%, 18%)
CIE-LABlab(80.77, -21.53, 73.39)
CIE-LCHlch(80.77, 76.49, 106.35°)
OKLaboklab(82.69% -0.0674 0.1594)
OKLCHoklch(82.69% 0.173 112.9)
XYZxyz(47.0761, 58.0632, 11.1099)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D12C #352CD1
analogous
#D1882C #C8D12C #75D12C
triadic
#C8D12C #2CC8D1 #D12CC8
tetradic
#C8D12C #2CD188 #352CD1 #D12C75
square
#C8D12C #2CD188 #352CD1 #D12C75
split-complementary
#C8D12C #2C75D1 #882CD1
monochromatic
#676C17 #989E21 #C8D12C #D6DD5D #E3E890

Accessibility & contrast

On white

1.67
#C8D12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#C8D12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D12C
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D12C#FFFFFF#000000##000000
##C8D12C1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#E1CA3C
Tritanopia (blue-blind)
#D6C4B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c8d12c;
/* rgb */ color: rgb(200, 209, 44);
/* oklch */ color: oklch(82.7% 0.173 112.9);
Tailwind
colors: {
  custom: {
    50: '#ddde74',
    500: '#c8d12c',
    950: '#000000',
  },
}
SCSS
$custom: #c8d12c;
$custom-light: #ddde74;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d12c",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 44
  },
  "hsl": {
    "h": 63.273,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.82689,
    "c": 0.17309,
    "h": 112.9
  },
  "luminance": 0.58062
}

Semantic roles & 50–950 ramp

primary
#C8D12C
secondary
#302C75
accent
#40E849
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C8D12C

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

Preview Lab → · Contrast checker → · Palette generator →

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