#C7C751#C7C751

#C7C751 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.7% C 0.140 H 109.2°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#C7C751
RGBrgb(199, 199, 81)
HSLhsl(60, 51%, 55%)
HSVhsv(60, 59%, 78%)
CMYKcmyk(0%, 0%, 59.3%, 22%)
CIE-LABlab(78.22, -15.08, 57.50)
CIE-LCHlch(78.22, 59.45, 104.70°)
OKLaboklab(80.7% -0.0458 0.1319)
OKLCHoklch(80.7% 0.14 109.2)
XYZxyz(45.4632, 53.5843, 15.7309)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C751 #5151C7
analogous
#C78C51 #C7C751 #8CC751
triadic
#C7C751 #51C7C7 #C751C7
tetradic
#C7C751 #51C78C #5151C7 #C7518C
square
#C7C751 #51C78C #5151C7 #C7518C
split-complementary
#C7C751 #518CC7 #8C51C7
monochromatic
#777726 #A6A635 #C7C751 #D6D67F #E5E5AE

Accessibility & contrast

On white

1.79
#C7C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#C7C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C751
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C751#FFFFFF#000000##000000
##C7C7511.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF43
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#D4BBAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c751;
/* rgb */ color: rgb(199, 199, 81);
/* oklch */ color: oklch(80.7% 0.140 109.2);
Tailwind
colors: {
  custom: {
    50: '#dbd787',
    500: '#c7c751',
    950: '#000000',
  },
}
SCSS
$custom: #c7c751;
$custom-light: #dbd787;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c751",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 60,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80702,
    "c": 0.13959,
    "h": 109.2
  },
  "luminance": 0.53583
}

Semantic roles & 50–950 ramp

primary
#C7C751
secondary
#3C3C80
accent
#4DDB4D
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7C751

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

Preview Lab → · Contrast checker → · Palette generator →

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