#C7D94D#C7D94D

#C7D94D 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#C7D94D
RGBrgb(199, 217, 77)
HSLhsl(68, 65%, 58%)
HSVhsv(68, 65%, 85%)
CMYKcmyk(8.3%, 0%, 64.5%, 14.9%)
CIE-LABlab(83.08, -24.21, 64.35)
CIE-LCHlch(83.08, 68.75, 110.62°)
OKLaboklab(84.58% -0.0719 0.1458)
OKLCHoklch(84.58% 0.163 116.2)
XYZxyz(49.7067, 62.3043, 16.4271)
Luminance0.6230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D94D #5F4DD9
analogous
#D9A54D #C7D94D #81D94D
triadic
#C7D94D #4DC7D9 #D94DC7
tetradic
#C7D94D #4DD9A5 #5F4DD9 #D94D81
square
#C7D94D #4DD9A5 #5F4DD9 #D94D81
split-complementary
#C7D94D #4D81D9 #A54DD9
monochromatic
#7F8D1E #ACC029 #C7D94D #D7E47F #E7EFB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D94D#FFFFFF#000000##000000
##C7D94D1.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)
#E7CE3A
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#D3CDBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d94d;
/* rgb */ color: rgb(199, 217, 77);
/* oklch */ color: oklch(84.6% 0.163 116.2);
Tailwind
colors: {
  custom: {
    50: '#dbe486',
    500: '#c7d94d',
    950: '#000000',
  },
}
SCSS
$custom: #c7d94d;
$custom-light: #dbe486;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d94d",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 77
  },
  "hsl": {
    "h": 67.714,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84577,
    "c": 0.16254,
    "h": 116.2
  },
  "luminance": 0.62304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7D94D

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

Preview Lab → · Contrast checker → · Palette generator →

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