#C7C765#C7C765

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

Color values

HEX#C7C765
RGBrgb(199, 199, 101)
HSLhsl(60, 47%, 59%)
HSVhsv(60, 49%, 78%)
CMYKcmyk(0%, 0%, 49.2%, 22%)
CIE-LABlab(78.42, -13.50, 48.58)
CIE-LCHlch(78.42, 50.42, 105.53°)
OKLaboklab(80.93% -0.0392 0.1149)
OKLCHoklch(80.93% 0.121 108.8)
XYZxyz(46.3266, 53.9297, 20.2785)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C765 #6565C7
analogous
#C79665 #C7C765 #96C765
triadic
#C7C765 #65C7C7 #C765C7
tetradic
#C7C765 #65C796 #6565C7 #C76596
square
#C7C765 #65C796 #6565C7 #C76596
split-complementary
#C7C765 #6596C7 #9665C7
monochromatic
#82822F #AFAF40 #C7C765 #D7D792 #E8E8BF

Accessibility & contrast

On white

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

On black

11.79
#C7C765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C765
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C765#FFFFFF#000000##000000
##C7C7651.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05C
Deuteranopia (green-blind)
#D6C46A
Tritanopia (blue-blind)
#D3BDB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c765;
/* rgb */ color: rgb(199, 199, 101);
/* oklch */ color: oklch(80.9% 0.121 108.8);
Tailwind
colors: {
  custom: {
    50: '#dad793',
    500: '#c7c765',
    950: '#000000',
  },
}
SCSS
$custom: #c7c765;
$custom-light: #dad793;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c765",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 101
  },
  "hsl": {
    "h": 60,
    "s": 46.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80928,
    "c": 0.12138,
    "h": 108.8
  },
  "luminance": 0.53929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7C765

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

Preview Lab → · Contrast checker → · Palette generator →

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