#C7D751#C7D751

#C7D751 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.2% C 0.157 H 115.6°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#C7D751
RGBrgb(199, 215, 81)
HSLhsl(67, 63%, 58%)
HSVhsv(67, 62%, 84%)
CMYKcmyk(7.4%, 0%, 62.3%, 15.7%)
CIE-LABlab(82.56, -22.98, 62.19)
CIE-LCHlch(82.56, 66.30, 110.28°)
OKLaboklab(84.17% -0.0681 0.1418)
OKLCHoklch(84.17% 0.157 115.6)
XYZxyz(49.3399, 61.3378, 17.0232)
Luminance0.6134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D751 #6151D7
analogous
#D7A451 #C7D751 #84D751
triadic
#C7D751 #51C7D7 #D751C7
tetradic
#C7D751 #51D7A4 #6151D7 #D75184
square
#C7D751 #51D7A4 #6151D7 #D75184
split-complementary
#C7D751 #5184D7 #A451D7
monochromatic
#808D20 #ADBF2C #C7D751 #D7E283 #E7EEB5

Accessibility & contrast

On white

1.58
#C7D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#C7D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D751
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D751#FFFFFF#000000##000000
##C7D7511.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD40
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#D3CBBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d751;
/* rgb */ color: rgb(199, 215, 81);
/* oklch */ color: oklch(84.2% 0.157 115.6);
Tailwind
colors: {
  custom: {
    50: '#dbe388',
    500: '#c7d751',
    950: '#000000',
  },
}
SCSS
$custom: #c7d751;
$custom-light: #dbe388;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d751",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 67.164,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84174,
    "c": 0.15727,
    "h": 115.6
  },
  "luminance": 0.61337
}

Semantic roles & 50–950 ramp

primary
#C7D751
secondary
#443993
accent
#42E656
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D751

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

Preview Lab → · Contrast checker → · Palette generator →

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