#C7D54A#C7D54A

#C7D54A is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.7% C 0.160 H 114.8°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#C7D54A
RGBrgb(199, 213, 74)
HSLhsl(66, 62%, 56%)
HSVhsv(66, 65%, 84%)
CMYKcmyk(6.6%, 0%, 65.3%, 16.5%)
CIE-LABlab(81.96, -22.46, 64.37)
CIE-LCHlch(81.96, 68.18, 109.24°)
OKLaboklab(83.68% -0.0673 0.1454)
OKLCHoklch(83.68% 0.16 114.8)
XYZxyz(48.5847, 60.2258, 15.5426)
Luminance0.6022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D54A #584AD5
analogous
#D59E4A #C7D54A #82D54A
triadic
#C7D54A #4AC7D5 #D54AC7
tetradic
#C7D54A #4AD59E #584AD5 #D54A82
square
#C7D54A #4AD59E #584AD5 #D54A82
split-complementary
#C7D54A #4A82D5 #9E4AD5
monochromatic
#7B861F #A9B72B #C7D54A #D6E17C #E6ECAD

Accessibility & contrast

On white

1.61
#C7D54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#C7D54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D54A
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D54A#FFFFFF#000000##000000
##C7D54A1.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB37
Deuteranopia (green-blind)
#E3CD54
Tritanopia (blue-blind)
#D3C9B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c7d54a;
/* rgb */ color: rgb(199, 213, 74);
/* oklch */ color: oklch(83.7% 0.160 114.8);
Tailwind
colors: {
  custom: {
    50: '#dbe184',
    500: '#c7d54a',
    950: '#000000',
  },
}
SCSS
$custom: #c7d54a;
$custom-light: #dbe184;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d54a",
  "rgb": {
    "r": 199,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 66.043,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83676,
    "c": 0.16021,
    "h": 114.8
  },
  "luminance": 0.60225
}

Semantic roles & 50–950 ramp

primary
#C7D54A
secondary
#40378C
accent
#42E553
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D54A

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

Preview Lab → · Contrast checker → · Palette generator →

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