#C8D334#C8D334

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

Color values

HEX#C8D334
RGBrgb(200, 211, 52)
HSLhsl(64, 64%, 52%)
HSVhsv(64, 75%, 83%)
CMYKcmyk(5.2%, 0%, 75.4%, 17.3%)
CIE-LABlab(81.36, -22.20, 71.58)
CIE-LCHlch(81.36, 74.95, 107.23°)
OKLaboklab(83.17% -0.0686 0.157)
OKLCHoklch(83.17% 0.171 113.6)
XYZxyz(47.7350, 59.1168, 12.1442)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D334 #3F34D3
analogous
#D38F34 #C8D334 #79D334
triadic
#C8D334 #34C8D3 #D334C8
tetradic
#C8D334 #34D38F #3F34D3 #D33479
square
#C8D334 #34D38F #3F34D3 #D33479
split-complementary
#C8D334 #3479D3 #8F34D3
monochromatic
#6D7419 #9DA624 #C8D334 #D6DE66 #E3E999

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D334#FFFFFF#000000##000000
##C8D3341.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)
#E3C908
Deuteranopia (green-blind)
#E3CC42
Tritanopia (blue-blind)
#D6C6B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d334;
/* rgb */ color: rgb(200, 211, 52);
/* oklch */ color: oklch(83.2% 0.171 113.6);
Tailwind
colors: {
  custom: {
    50: '#dde078',
    500: '#c8d334',
    950: '#000000',
  },
}
SCSS
$custom: #c8d334;
$custom-light: #dde078;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d334",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 52
  },
  "hsl": {
    "h": 64.151,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.83167,
    "c": 0.17131,
    "h": 113.6
  },
  "luminance": 0.59116
}

Semantic roles & 50–950 ramp

primary
#C8D334
secondary
#342F7C
accent
#40E74C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C8D334

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

Preview Lab → · Contrast checker → · Palette generator →

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