#C7C764#C7C764

#C7C764 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.9% C 0.122 H 108.8°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#C7C764
RGBrgb(199, 199, 100)
HSLhsl(60, 47%, 59%)
HSVhsv(60, 50%, 78%)
CMYKcmyk(0%, 0%, 49.7%, 22%)
CIE-LABlab(78.41, -13.58, 49.04)
CIE-LCHlch(78.41, 50.89, 105.48°)
OKLaboklab(80.92% -0.0395 0.1158)
OKLCHoklch(80.92% 0.122 108.8)
XYZxyz(46.2779, 53.9102, 20.0220)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C764 #6464C7
analogous
#C79564 #C7C764 #95C764
triadic
#C7C764 #64C7C7 #C764C7
tetradic
#C7C764 #64C795 #6464C7 #C76495
square
#C7C764 #64C795 #6464C7 #C76495
split-complementary
#C7C764 #6495C7 #9564C7
monochromatic
#82822F #AFAF3F #C7C764 #D7D791 #E7E7BE

Accessibility & contrast

On white

1.78
#C7C764 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#C7C764 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C764
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C764#FFFFFF#000000##000000
##C7C7641.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C05B
Deuteranopia (green-blind)
#D6C469
Tritanopia (blue-blind)
#D3BCB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c764;
/* rgb */ color: rgb(199, 199, 100);
/* oklch */ color: oklch(80.9% 0.122 108.8);
Tailwind
colors: {
  custom: {
    50: '#dad793',
    500: '#c7c764',
    950: '#000000',
  },
}
SCSS
$custom: #c7c764;
$custom-light: #dad793;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c764",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 100
  },
  "hsl": {
    "h": 60,
    "s": 46.919,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80915,
    "c": 0.12236,
    "h": 108.8
  },
  "luminance": 0.53909
}

Semantic roles & 50–950 ramp

primary
#C7C764
secondary
#46468A
accent
#51D751
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C7C764

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

Preview Lab → · Contrast checker → · Palette generator →

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