#C7D93A#C7D93A

#C7D93A is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.4% C 0.175 H 116.0°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#C7D93A
RGBrgb(199, 217, 58)
HSLhsl(67, 68%, 54%)
HSVhsv(67, 73%, 85%)
CMYKcmyk(8.3%, 0%, 73.3%, 14.9%)
CIE-LABlab(82.95, -25.25, 71.14)
CIE-LCHlch(82.95, 75.48, 109.54°)
OKLaboklab(84.44% -0.0765 0.1571)
OKLCHoklch(84.44% 0.175 116)
XYZxyz(49.1311, 62.0741, 13.3955)
Luminance0.6207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D93A #4C3AD9
analogous
#D99B3A #C7D93A #78D93A
triadic
#C7D93A #3AC7D9 #D93AC7
tetradic
#C7D93A #3AD99B #4C3AD9 #D93A78
square
#C7D93A #3AD99B #4C3AD9 #D93A78
split-complementary
#C7D93A #3A78D9 #9B3AD9
monochromatic
#748019 #A3B323 #C7D93A #D6E36D #E4EDA1

Accessibility & contrast

On white

1.57
#C7D93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#C7D93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D93A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D93A#FFFFFF#000000##000000
##C7D93A1.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7d93a;
/* rgb */ color: rgb(199, 217, 58);
/* oklch */ color: oklch(84.4% 0.175 116.0);
Tailwind
colors: {
  custom: {
    50: '#dce47c',
    500: '#c7d93a',
    950: '#000000',
  },
}
SCSS
$custom: #c7d93a;
$custom-light: #dce47c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d93a",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 58
  },
  "hsl": {
    "h": 66.792,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8444,
    "c": 0.17471,
    "h": 116
  },
  "luminance": 0.62073
}

Semantic roles & 50–950 ramp

primary
#C7D93A
secondary
#3A3087
accent
#3DEB51
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D93A

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

Preview Lab → · Contrast checker → · Palette generator →

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