#C7D330#C7D330

#C7D330 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.1% C 0.174 H 113.9°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#C7D330
RGBrgb(199, 211, 48)
HSLhsl(64, 65%, 51%)
HSVhsv(64, 77%, 83%)
CMYKcmyk(5.7%, 0%, 77.3%, 17.3%)
CIE-LABlab(81.26, -22.77, 72.67)
CIE-LCHlch(81.26, 76.16, 107.40°)
OKLaboklab(83.07% -0.0704 0.1586)
OKLCHoklch(83.07% 0.174 113.9)
XYZxyz(47.3824, 58.9450, 11.6772)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D330 #3C30D3
analogous
#D38D30 #C7D330 #75D330
triadic
#C7D330 #30C7D3 #D330C7
tetradic
#C7D330 #30D38D #3C30D3 #D33075
square
#C7D330 #30D38D #3C30D3 #D33075
split-complementary
#C7D330 #3075D3 #8D30D3
monochromatic
#6A7118 #9AA323 #C7D330 #D5DE62 #E2E895

Accessibility & contrast

On white

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

On black

12.79
#C7D330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D330
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D330#FFFFFF#000000##000000
##C7D3301.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7d330;
/* rgb */ color: rgb(199, 211, 48);
/* oklch */ color: oklch(83.1% 0.174 113.9);
Tailwind
colors: {
  custom: {
    50: '#dce076',
    500: '#c7d330',
    950: '#000000',
  },
}
SCSS
$custom: #c7d330;
$custom-light: #dce076;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d330",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 48
  },
  "hsl": {
    "h": 64.417,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.83067,
    "c": 0.17357,
    "h": 113.9
  },
  "luminance": 0.58944
}

Semantic roles & 50–950 ramp

primary
#C7D330
secondary
#332E7A
accent
#40E84C
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C7D330

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

Preview Lab → · Contrast checker → · Palette generator →

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