#C8D330#C8D330

#C8D330 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.1% C 0.173 H 113.6°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#C8D330
RGBrgb(200, 211, 48)
HSLhsl(64, 65%, 51%)
HSVhsv(64, 77%, 83%)
CMYKcmyk(5.2%, 0%, 77.3%, 17.3%)
CIE-LABlab(81.34, -22.36, 72.77)
CIE-LCHlch(81.34, 76.12, 107.08°)
OKLaboklab(83.15% -0.0693 0.1588)
OKLCHoklch(83.15% 0.173 113.6)
XYZxyz(47.6487, 59.0823, 11.6897)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D330 #3B30D3
analogous
#D38C30 #C8D330 #76D330
triadic
#C8D330 #30C8D3 #D330C8
tetradic
#C8D330 #30D38C #3B30D3 #D33076
square
#C8D330 #30D38C #3B30D3 #D33076
split-complementary
#C8D330 #3076D3 #8C30D3
monochromatic
#6B7118 #9AA323 #C8D330 #D5DE62 #E3E895

Accessibility & contrast

On white

1.64
#C8D330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#C8D330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D330
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D330#FFFFFF#000000##000000
##C8D3301.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C900
Deuteranopia (green-blind)
#E3CC3F
Tritanopia (blue-blind)
#D6C6B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d330;
/* rgb */ color: rgb(200, 211, 48);
/* oklch */ color: oklch(83.1% 0.173 113.6);
Tailwind
colors: {
  custom: {
    50: '#dde076',
    500: '#c8d330',
    950: '#000000',
  },
}
SCSS
$custom: #c8d330;
$custom-light: #dde076;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d330",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 48
  },
  "hsl": {
    "h": 64.049,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.83146,
    "c": 0.17327,
    "h": 113.6
  },
  "luminance": 0.59081
}

Semantic roles & 50–950 ramp

primary
#C8D330
secondary
#332E7A
accent
#40E84B
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C8D330

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

Preview Lab → · Contrast checker → · Palette generator →

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