#C7D94C#C7D94C

#C7D94C is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.6% C 0.163 H 116.2°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#C7D94C
RGBrgb(199, 217, 76)
HSLhsl(68, 65%, 57%)
HSVhsv(68, 65%, 85%)
CMYKcmyk(8.3%, 0%, 65%, 14.9%)
CIE-LABlab(83.07, -24.27, 64.74)
CIE-LCHlch(83.07, 69.14, 110.55°)
OKLaboklab(84.57% -0.0722 0.1465)
OKLCHoklch(84.57% 0.163 116.2)
XYZxyz(49.6717, 62.2903, 16.2426)
Luminance0.6229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D94C #5E4CD9
analogous
#D9A54C #C7D94C #80D94C
triadic
#C7D94C #4CC7D9 #D94CC7
tetradic
#C7D94C #4CD9A5 #5E4CD9 #D94C80
square
#C7D94C #4CD9A5 #5E4CD9 #D94C80
split-complementary
#C7D94C #4C80D9 #A54CD9
monochromatic
#7F8D1E #ACBF29 #C7D94C #D7E47E #E7EEB1

Accessibility & contrast

On white

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

On black

13.46
#C7D94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D94C
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D94C#FFFFFF#000000##000000
##C7D94C1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE39
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#D3CDBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d94c;
/* rgb */ color: rgb(199, 217, 76);
/* oklch */ color: oklch(84.6% 0.163 116.2);
Tailwind
colors: {
  custom: {
    50: '#dbe485',
    500: '#c7d94c',
    950: '#000000',
  },
}
SCSS
$custom: #c7d94c;
$custom-light: #dbe485;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d94c",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 76
  },
  "hsl": {
    "h": 67.66,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84568,
    "c": 0.16326,
    "h": 116.2
  },
  "luminance": 0.6229
}

Semantic roles & 50–950 ramp

primary
#C7D94C
secondary
#433792
accent
#40E855
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D94C

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

Preview Lab → · Contrast checker → · Palette generator →

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