#C7D337#C7D337

#C7D337 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.1% C 0.170 H 114.0°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#C7D337
RGBrgb(199, 211, 55)
HSLhsl(65, 64%, 52%)
HSVhsv(65, 74%, 83%)
CMYKcmyk(5.7%, 0%, 73.9%, 17.3%)
CIE-LABlab(81.30, -22.49, 70.55)
CIE-LCHlch(81.30, 74.05, 107.68°)
OKLaboklab(83.1% -0.0691 0.1553)
OKLCHoklch(83.1% 0.17 114)
XYZxyz(47.5385, 59.0074, 12.4990)
Luminance0.5901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D337 #4337D3
analogous
#D39137 #C7D337 #79D337
triadic
#C7D337 #37C7D3 #D337C7
tetradic
#C7D337 #37D391 #4337D3 #D33779
square
#C7D337 #37D391 #4337D3 #D33779
split-complementary
#C7D337 #3779D3 #9137D3
monochromatic
#6F761A #9EA825 #C7D337 #D5DE69 #E3E99B

Accessibility & contrast

On white

1.64
#C7D337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#C7D337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D337
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D337#FFFFFF#000000##000000
##C7D3371.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C913
Deuteranopia (green-blind)
#E2CB44
Tritanopia (blue-blind)
#D4C6B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d337;
/* rgb */ color: rgb(199, 211, 55);
/* oklch */ color: oklch(83.1% 0.170 114.0);
Tailwind
colors: {
  custom: {
    50: '#dce079',
    500: '#c7d337',
    950: '#000000',
  },
}
SCSS
$custom: #c7d337;
$custom-light: #dce079;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d337",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 55
  },
  "hsl": {
    "h": 64.615,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.83105,
    "c": 0.17001,
    "h": 114
  },
  "luminance": 0.59006
}

Semantic roles & 50–950 ramp

primary
#C7D337
secondary
#36307E
accent
#41E74E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D337

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

Preview Lab → · Contrast checker → · Palette generator →

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