#C7D93E#C7D93E

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

Color values

HEX#C7D93E
RGBrgb(199, 217, 62)
HSLhsl(67, 67%, 55%)
HSVhsv(67, 71%, 85%)
CMYKcmyk(8.3%, 0%, 71.4%, 14.9%)
CIE-LABlab(82.98, -25.05, 69.82)
CIE-LCHlch(82.98, 74.18, 109.74°)
OKLaboklab(84.47% -0.0756 0.155)
OKLCHoklch(84.47% 0.172 116)
XYZxyz(49.2368, 62.1163, 13.9524)
Luminance0.6212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D93E #503ED9
analogous
#D99E3E #C7D93E #79D93E
triadic
#C7D93E #3EC7D9 #D93EC7
tetradic
#C7D93E #3ED99E #503ED9 #D93E79
square
#C7D93E #3ED99E #503ED9 #D93E79
split-complementary
#C7D93E #3E79D9 #9E3ED9
monochromatic
#77831A #A5B624 #C7D93E #D6E371 #E5EDA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D93E#FFFFFF#000000##000000
##C7D93E1.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)
#E8CE21
Deuteranopia (green-blind)
#E7D04B
Tritanopia (blue-blind)
#D4CDBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d93e;
/* rgb */ color: rgb(199, 217, 62);
/* oklch */ color: oklch(84.5% 0.172 116.0);
Tailwind
colors: {
  custom: {
    50: '#dce47e',
    500: '#c7d93e',
    950: '#000000',
  },
}
SCSS
$custom: #c7d93e;
$custom-light: #dce47e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d93e",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 62
  },
  "hsl": {
    "h": 66.968,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84465,
    "c": 0.17243,
    "h": 116
  },
  "luminance": 0.62116
}

Semantic roles & 50–950 ramp

primary
#C7D93E
secondary
#3C328A
accent
#3EEA52
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D93E

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

Preview Lab → · Contrast checker → · Palette generator →

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