#C7D951#C7D951

#C7D951 is a very light, vivid yellow. Relative luminance 0.624; 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#C7D951
RGBrgb(199, 217, 81)
HSLhsl(68, 64%, 58%)
HSVhsv(68, 63%, 85%)
CMYKcmyk(8.3%, 0%, 62.7%, 14.9%)
CIE-LABlab(83.11, -23.95, 62.77)
CIE-LCHlch(83.11, 67.18, 110.89°)
OKLaboklab(84.61% -0.0708 0.143)
OKLCHoklch(84.61% 0.16 116.3)
XYZxyz(49.8523, 62.3625, 17.1940)
Luminance0.6236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D951 #6351D9
analogous
#D9A751 #C7D951 #83D951
triadic
#C7D951 #51C7D9 #D951C7
tetradic
#C7D951 #51D9A7 #6351D9 #D95183
square
#C7D951 #51D9A7 #6351D9 #D95183
split-complementary
#C7D951 #5183D9 #A751D9
monochromatic
#81901F #AEC22A #C7D951 #D7E483 #E7EFB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D951#FFFFFF#000000##000000
##C7D9511.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)
#E7CE40
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#D3CDBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d951;
/* rgb */ color: rgb(199, 217, 81);
/* oklch */ color: oklch(84.6% 0.160 116.3);
Tailwind
colors: {
  custom: {
    50: '#dbe488',
    500: '#c7d951',
    950: '#000000',
  },
}
SCSS
$custom: #c7d951;
$custom-light: #dbe488;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d951",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 67.941,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84611,
    "c": 0.15956,
    "h": 116.3
  },
  "luminance": 0.62362
}

Semantic roles & 50–950 ramp

primary
#C7D951
secondary
#453995
accent
#41E757
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D951

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

Preview Lab → · Contrast checker → · Palette generator →

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