#C7D370#C7D370

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

Color values

HEX#C7D370
RGBrgb(199, 211, 112)
HSLhsl(67, 53%, 63%)
HSVhsv(67, 47%, 83%)
CMYKcmyk(5.7%, 0%, 46.9%, 17.3%)
CIE-LABlab(81.78, -18.47, 47.34)
CIE-LCHlch(81.78, 50.81, 111.32°)
OKLaboklab(83.65% -0.0523 0.113)
OKLCHoklch(83.65% 0.125 114.8)
XYZxyz(49.7727, 59.9011, 24.2662)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D370 #7C70D3
analogous
#D3AD70 #C7D370 #95D370
triadic
#C7D370 #70C7D3 #D370C7
tetradic
#C7D370 #70D3AD #7C70D3 #D37095
square
#C7D370 #70D3AD #7C70D3 #D37095
split-complementary
#C7D370 #7095D3 #AD70D3
monochromatic
#8D992F #B5C541 #C7D370 #D9E19F #ECF0CE

Accessibility & contrast

On white

1.62
#C7D370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#C7D370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D370
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D370#FFFFFF#000000##000000
##C7D3701.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA67
Deuteranopia (green-blind)
#DECC75
Tritanopia (blue-blind)
#D1C9BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c7d370;
/* rgb */ color: rgb(199, 211, 112);
/* oklch */ color: oklch(83.7% 0.125 114.8);
Tailwind
colors: {
  custom: {
    50: '#dae09b',
    500: '#c7d370',
    950: '#000000',
  },
}
SCSS
$custom: #c7d370;
$custom-light: #dae09b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d370",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 112
  },
  "hsl": {
    "h": 67.273,
    "s": 52.941,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83653,
    "c": 0.12455,
    "h": 114.8
  },
  "luminance": 0.599
}

Semantic roles & 50–950 ramp

primary
#C7D370
secondary
#53499E
accent
#25C038
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D370

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

Preview Lab → · Contrast checker → · Palette generator →

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