#C7D94F#C7D94F

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

Color values

HEX#C7D94F
RGBrgb(199, 217, 79)
HSLhsl(68, 64%, 58%)
HSVhsv(68, 64%, 85%)
CMYKcmyk(8.3%, 0%, 63.6%, 14.9%)
CIE-LABlab(83.09, -24.08, 63.56)
CIE-LCHlch(83.09, 67.97, 110.75°)
OKLaboklab(84.59% -0.0713 0.1444)
OKLCHoklch(84.59% 0.161 116.3)
XYZxyz(49.7784, 62.3330, 16.8048)
Luminance0.6233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D94F #614FD9
analogous
#D9A64F #C7D94F #82D94F
triadic
#C7D94F #4FC7D9 #D94FC7
tetradic
#C7D94F #4FD9A6 #614FD9 #D94F82
square
#C7D94F #4FD9A6 #614FD9 #D94F82
split-complementary
#C7D94F #4F82D9 #A64FD9
monochromatic
#808F1F #ADC12A #C7D94F #D7E481 #E7EFB4

Accessibility & contrast

On white

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

On black

13.47
#C7D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D94F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D94F#FFFFFF#000000##000000
##C7D94F1.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3D
Deuteranopia (green-blind)
#E6D059
Tritanopia (blue-blind)
#D3CDBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d94f;
/* rgb */ color: rgb(199, 217, 79);
/* oklch */ color: oklch(84.6% 0.161 116.3);
Tailwind
colors: {
  custom: {
    50: '#dbe487',
    500: '#c7d94f',
    950: '#000000',
  },
}
SCSS
$custom: #c7d94f;
$custom-light: #dbe487;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d94f",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 67.826,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84594,
    "c": 0.16107,
    "h": 116.3
  },
  "luminance": 0.62332
}

Semantic roles & 50–950 ramp

primary
#C7D94F
secondary
#443894
accent
#40E756
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D94F

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

Preview Lab → · Contrast checker → · Palette generator →

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