#C7D950#C7D950

#C7D950 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.6% C 0.160 H 116.3°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#C7D950
RGBrgb(199, 217, 80)
HSLhsl(68, 64%, 58%)
HSVhsv(68, 63%, 85%)
CMYKcmyk(8.3%, 0%, 63.1%, 14.9%)
CIE-LABlab(83.10, -24.02, 63.17)
CIE-LCHlch(83.10, 67.58, 110.82°)
OKLaboklab(84.6% -0.071 0.1437)
OKLCHoklch(84.6% 0.16 116.3)
XYZxyz(49.8151, 62.3477, 16.9979)
Luminance0.6235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D950 #6250D9
analogous
#D9A650 #C7D950 #82D950
triadic
#C7D950 #50C7D9 #D950C7
tetradic
#C7D950 #50D9A6 #6250D9 #D95082
square
#C7D950 #50D9A6 #6250D9 #D95082
split-complementary
#C7D950 #5082D9 #A650D9
monochromatic
#818F1F #AEC22A #C7D950 #D7E482 #E7EFB5

Accessibility & contrast

On white

1.56
#C7D950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#C7D950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D950
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D950#FFFFFF#000000##000000
##C7D9501.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3E
Deuteranopia (green-blind)
#E6D059
Tritanopia (blue-blind)
#D3CDBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d950;
/* rgb */ color: rgb(199, 217, 80);
/* oklch */ color: oklch(84.6% 0.160 116.3);
Tailwind
colors: {
  custom: {
    50: '#dbe487',
    500: '#c7d950',
    950: '#000000',
  },
}
SCSS
$custom: #c7d950;
$custom-light: #dbe487;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d950",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 67.883,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84603,
    "c": 0.16031,
    "h": 116.3
  },
  "luminance": 0.62347
}

Semantic roles & 50–950 ramp

primary
#C7D950
secondary
#453895
accent
#40E756
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D950

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

Preview Lab → · Contrast checker → · Palette generator →

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