#C7D34F#C7D34F

#C7D34F is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.3% C 0.154 H 114.2°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#C7D34F
RGBrgb(199, 211, 79)
HSLhsl(65, 60%, 57%)
HSVhsv(65, 63%, 83%)
CMYKcmyk(5.7%, 0%, 62.6%, 17.3%)
CIE-LABlab(81.45, -21.17, 61.83)
CIE-LCHlch(81.45, 65.36, 108.90°)
OKLaboklab(83.28% -0.0632 0.1407)
OKLCHoklch(83.28% 0.154 114.2)
XYZxyz(48.2599, 59.2960, 16.2986)
Luminance0.5929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D34F #5B4FD3
analogous
#D39D4F #C7D34F #85D34F
triadic
#C7D34F #4FC7D3 #D34FC7
tetradic
#C7D34F #4FD39D #5B4FD3 #D34F85
square
#C7D34F #4FD39D #5B4FD3 #D34F85
split-complementary
#C7D34F #4F85D3 #9D4FD3
monochromatic
#7D8622 #ABB72E #C7D34F #D7DF80 #E6EBB1

Accessibility & contrast

On white

1.63
#C7D34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#C7D34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D34F
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D34F#FFFFFF#000000##000000
##C7D34F1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C93E
Deuteranopia (green-blind)
#E1CC58
Tritanopia (blue-blind)
#D3C7B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d34f;
/* rgb */ color: rgb(199, 211, 79);
/* oklch */ color: oklch(83.3% 0.154 114.2);
Tailwind
colors: {
  custom: {
    50: '#dbe086',
    500: '#c7d34f',
    950: '#000000',
  },
}
SCSS
$custom: #c7d34f;
$custom-light: #dbe086;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d34f",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 79
  },
  "hsl": {
    "h": 65.455,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83282,
    "c": 0.15428,
    "h": 114.2
  },
  "luminance": 0.59295
}

Semantic roles & 50–950 ramp

primary
#C7D34F
secondary
#41398D
accent
#45E353
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D34F

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

Preview Lab → · Contrast checker → · Palette generator →

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