#C7D94B#C7D94B

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

Color values

HEX#C7D94B
RGBrgb(199, 217, 75)
HSLhsl(68, 65%, 57%)
HSVhsv(68, 65%, 85%)
CMYKcmyk(8.3%, 0%, 65.4%, 14.9%)
CIE-LABlab(83.06, -24.34, 65.12)
CIE-LCHlch(83.06, 69.52, 110.49°)
OKLaboklab(84.56% -0.0724 0.1471)
OKLCHoklch(84.56% 0.164 116.2)
XYZxyz(49.6372, 62.2765, 16.0610)
Luminance0.6228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D94B #5D4BD9
analogous
#D9A44B #C7D94B #80D94B
triadic
#C7D94B #4BC7D9 #D94BC7
tetradic
#C7D94B #4BD9A4 #5D4BD9 #D94B80
square
#C7D94B #4BD9A4 #5D4BD9 #D94B80
split-complementary
#C7D94B #4B80D9 #A44BD9
monochromatic
#7E8C1E #ACBF28 #C7D94B #D7E47E #E6EEB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D94B#FFFFFF#000000##000000
##C7D94B1.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)
#E7CE37
Deuteranopia (green-blind)
#E6D055
Tritanopia (blue-blind)
#D3CDBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d94b;
/* rgb */ color: rgb(199, 217, 75);
/* oklch */ color: oklch(84.6% 0.164 116.2);
Tailwind
colors: {
  custom: {
    50: '#dbe484',
    500: '#c7d94b',
    950: '#000000',
  },
}
SCSS
$custom: #c7d94b;
$custom-light: #dbe484;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d94b",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 75
  },
  "hsl": {
    "h": 67.606,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8456,
    "c": 0.16397,
    "h": 116.2
  },
  "luminance": 0.62276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7D94B

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

Preview Lab → · Contrast checker → · Palette generator →

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