#C8D93A#C8D93A

#C8D93A is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.5% C 0.174 H 115.6°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#C8D93A
RGBrgb(200, 217, 58)
HSLhsl(66, 68%, 54%)
HSVhsv(66, 73%, 85%)
CMYKcmyk(7.8%, 0%, 73.3%, 14.9%)
CIE-LABlab(83.03, -24.84, 71.23)
CIE-LCHlch(83.03, 75.44, 109.22°)
OKLaboklab(84.52% -0.0754 0.1573)
OKLCHoklch(84.52% 0.174 115.6)
XYZxyz(49.3973, 62.2113, 13.4080)
Luminance0.6221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D93A #4B3AD9
analogous
#D99B3A #C8D93A #79D93A
triadic
#C8D93A #3AC8D9 #D93AC8
tetradic
#C8D93A #3AD99B #4B3AD9 #D93A79
square
#C8D93A #3AD99B #4B3AD9 #D93A79
split-complementary
#C8D93A #3A79D9 #9B3AD9
monochromatic
#758019 #A4B323 #C8D93A #D6E36D #E5EDA1

Accessibility & contrast

On white

1.56
#C8D93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#C8D93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D93A
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D93A#FFFFFF#000000##000000
##C8D93A1.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE18
Deuteranopia (green-blind)
#E7D048
Tritanopia (blue-blind)
#D5CCBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d93a;
/* rgb */ color: rgb(200, 217, 58);
/* oklch */ color: oklch(84.5% 0.174 115.6);
Tailwind
colors: {
  custom: {
    50: '#dce47c',
    500: '#c8d93a',
    950: '#000000',
  },
}
SCSS
$custom: #c8d93a;
$custom-light: #dce47c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d93a",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 58
  },
  "hsl": {
    "h": 66.415,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.84516,
    "c": 0.1744,
    "h": 115.6
  },
  "luminance": 0.62211
}

Semantic roles & 50–950 ramp

primary
#C8D93A
secondary
#393087
accent
#3DEB50
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #C8D93A

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

Preview Lab → · Contrast checker → · Palette generator →

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