#C7D340#C7D340

#C7D340 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.2% C 0.165 H 114.0°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#C7D340
RGBrgb(199, 211, 64)
HSLhsl(65, 63%, 54%)
HSVhsv(65, 70%, 83%)
CMYKcmyk(5.7%, 0%, 69.7%, 17.3%)
CIE-LABlab(81.35, -22.05, 67.52)
CIE-LCHlch(81.35, 71.03, 108.09°)
OKLaboklab(83.16% -0.0671 0.1505)
OKLCHoklch(83.16% 0.165 114)
XYZxyz(47.7742, 59.1017, 13.7406)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D340 #4C40D3
analogous
#D39640 #C7D340 #7ED340
triadic
#C7D340 #40C7D3 #D340C7
tetradic
#C7D340 #40D396 #4C40D3 #D3407E
square
#C7D340 #40D396 #4C40D3 #D3407E
split-complementary
#C7D340 #407ED3 #9640D3
monochromatic
#747C1D #A3AE28 #C7D340 #D6DE72 #E4EAA3

Accessibility & contrast

On white

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

On black

12.82
#C7D340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D340
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D340#FFFFFF#000000##000000
##C7D3401.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C927
Deuteranopia (green-blind)
#E2CB4B
Tritanopia (blue-blind)
#D4C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d340;
/* rgb */ color: rgb(199, 211, 64);
/* oklch */ color: oklch(83.2% 0.165 114.0);
Tailwind
colors: {
  custom: {
    50: '#dbe07e',
    500: '#c7d340',
    950: '#000000',
  },
}
SCSS
$custom: #c7d340;
$custom-light: #dbe07e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d340",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 64
  },
  "hsl": {
    "h": 64.898,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83163,
    "c": 0.16474,
    "h": 114
  },
  "luminance": 0.59101
}

Semantic roles & 50–950 ramp

primary
#C7D340
secondary
#3A3384
accent
#42E650
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D340

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

Preview Lab → · Contrast checker → · Palette generator →

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