#C7D93C#C7D93C

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

Color values

HEX#C7D93C
RGBrgb(199, 217, 60)
HSLhsl(67, 67%, 54%)
HSVhsv(67, 72%, 85%)
CMYKcmyk(8.3%, 0%, 72.4%, 14.9%)
CIE-LABlab(82.96, -25.15, 70.48)
CIE-LCHlch(82.96, 74.84, 109.64°)
OKLaboklab(84.45% -0.0761 0.156)
OKLCHoklch(84.45% 0.174 116)
XYZxyz(49.1829, 62.0948, 13.6687)
Luminance0.6209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D93C #4E3CD9
analogous
#D99D3C #C7D93C #79D93C
triadic
#C7D93C #3CC7D9 #D93CC7
tetradic
#C7D93C #3CD99D #4E3CD9 #D93C79
square
#C7D93C #3CD99D #4E3CD9 #D93C79
split-complementary
#C7D93C #3C79D9 #9D3CD9
monochromatic
#758119 #A4B523 #C7D93C #D6E36F #E4EDA2

Accessibility & contrast

On white

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

On black

13.42
#C7D93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D93C
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D93C#FFFFFF#000000##000000
##C7D93C1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7d93c;
/* rgb */ color: rgb(199, 217, 60);
/* oklch */ color: oklch(84.5% 0.174 116.0);
Tailwind
colors: {
  custom: {
    50: '#dce47d',
    500: '#c7d93c',
    950: '#000000',
  },
}
SCSS
$custom: #c7d93c;
$custom-light: #dce47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d93c",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 60
  },
  "hsl": {
    "h": 66.879,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.84452,
    "c": 0.17359,
    "h": 116
  },
  "luminance": 0.62094
}

Semantic roles & 50–950 ramp

primary
#C7D93C
secondary
#3B3188
accent
#3EEA51
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D93C

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

Preview Lab → · Contrast checker → · Palette generator →

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