#C7D94E#C7D94E

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

Color values

HEX#C7D94E
RGBrgb(199, 217, 78)
HSLhsl(68, 65%, 58%)
HSVhsv(68, 64%, 85%)
CMYKcmyk(8.3%, 0%, 64.1%, 14.9%)
CIE-LABlab(83.08, -24.15, 63.96)
CIE-LCHlch(83.08, 68.36, 110.68°)
OKLaboklab(84.59% -0.0716 0.1451)
OKLCHoklch(84.59% 0.162 116.3)
XYZxyz(49.7423, 62.3185, 16.6145)
Luminance0.6232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D94E #604ED9
analogous
#D9A64E #C7D94E #81D94E
triadic
#C7D94E #4EC7D9 #D94EC7
tetradic
#C7D94E #4ED9A6 #604ED9 #D94E81
square
#C7D94E #4ED9A6 #604ED9 #D94E81
split-complementary
#C7D94E #4E81D9 #A64ED9
monochromatic
#808E1F #ADC029 #C7D94E #D7E480 #E7EFB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D94E#FFFFFF#000000##000000
##C7D94E1.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)
#E7CE3C
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#D3CDBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d94e;
/* rgb */ color: rgb(199, 217, 78);
/* oklch */ color: oklch(84.6% 0.162 116.3);
Tailwind
colors: {
  custom: {
    50: '#dbe486',
    500: '#c7d94e',
    950: '#000000',
  },
}
SCSS
$custom: #c7d94e;
$custom-light: #dbe486;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d94e",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 67.77,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84585,
    "c": 0.16181,
    "h": 116.3
  },
  "luminance": 0.62318
}

Semantic roles & 50–950 ramp

primary
#C7D94E
secondary
#443894
accent
#40E856
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D94E

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

Preview Lab → · Contrast checker → · Palette generator →

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