#C7D56A#C7D56A

#C7D56A is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.0% C 0.133 H 115.5°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#C7D56A
RGBrgb(199, 213, 106)
HSLhsl(68, 56%, 63%)
HSVhsv(68, 50%, 84%)
CMYKcmyk(6.6%, 0%, 50.2%, 16.5%)
CIE-LABlab(82.26, -20.02, 50.76)
CIE-LCHlch(82.26, 54.57, 111.53°)
OKLaboklab(84.01% -0.0572 0.1201)
OKLCHoklch(84.01% 0.133 115.5)
XYZxyz(49.9497, 60.7718, 22.7317)
Luminance0.6077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D56A #786AD5
analogous
#D5AD6A #C7D56A #92D56A
triadic
#C7D56A #6AC7D5 #D56AC7
tetradic
#C7D56A #6AD5AD #786AD5 #D56A92
square
#C7D56A #6AD5AD #786AD5 #D56A92
split-complementary
#C7D56A #6A92D5 #AD6AD5
monochromatic
#8B992B #B5C83A #C7D56A #D9E29A #EBF0C9

Accessibility & contrast

On white

1.60
#C7D56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#C7D56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D56A
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D56A#FFFFFF#000000##000000
##C7D56A1.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC60
Deuteranopia (green-blind)
#E1CE70
Tritanopia (blue-blind)
#D1CBBD
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d56a;
/* rgb */ color: rgb(199, 213, 106);
/* oklch */ color: oklch(84.0% 0.133 115.5);
Tailwind
colors: {
  custom: {
    50: '#dae197',
    500: '#c7d56a',
    950: '#000000',
  },
}
SCSS
$custom: #c7d56a;
$custom-light: #dae197;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d56a",
  "rgb": {
    "r": 199,
    "g": 213,
    "b": 106
  },
  "hsl": {
    "h": 67.85,
    "s": 56.021,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84008,
    "c": 0.13303,
    "h": 115.5
  },
  "luminance": 0.60771
}

Semantic roles & 50–950 ramp

primary
#C7D56A
secondary
#51459E
accent
#22C437
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D56A

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

Preview Lab → · Contrast checker → · Palette generator →

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