#C7D94A#C7D94A

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

Color values

HEX#C7D94A
RGBrgb(199, 217, 74)
HSLhsl(68, 65%, 57%)
HSVhsv(68, 66%, 85%)
CMYKcmyk(8.3%, 0%, 65.9%, 14.9%)
CIE-LABlab(83.05, -24.40, 65.50)
CIE-LCHlch(83.05, 69.90, 110.43°)
OKLaboklab(84.55% -0.0727 0.1478)
OKLCHoklch(84.55% 0.165 116.2)
XYZxyz(49.6032, 62.2629, 15.8821)
Luminance0.6226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D94A #5C4AD9
analogous
#D9A34A #C7D94A #80D94A
triadic
#C7D94A #4AC7D9 #D94AC7
tetradic
#C7D94A #4AD9A3 #5C4AD9 #D94A80
square
#C7D94A #4AD9A3 #5C4AD9 #D94A80
split-complementary
#C7D94A #4A80D9 #A34AD9
monochromatic
#7D8B1D #ABBE28 #C7D94A #D7E47D #E6EEAF

Accessibility & contrast

On white

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

On black

13.45
#C7D94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D94A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D94A#FFFFFF#000000##000000
##C7D94A1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7d94a;
/* rgb */ color: rgb(199, 217, 74);
/* oklch */ color: oklch(84.6% 0.165 116.2);
Tailwind
colors: {
  custom: {
    50: '#dbe484',
    500: '#c7d94a',
    950: '#000000',
  },
}
SCSS
$custom: #c7d94a;
$custom-light: #dbe484;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d94a",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 74
  },
  "hsl": {
    "h": 67.552,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84552,
    "c": 0.16468,
    "h": 116.2
  },
  "luminance": 0.62262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7D94A

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

Preview Lab → · Contrast checker → · Palette generator →

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