#C7C640#C7C640

#C7C640 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.3% C 0.151 H 108.9°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#C7C640
RGBrgb(199, 198, 64)
HSLhsl(60, 55%, 52%)
HSVhsv(60, 68%, 78%)
CMYKcmyk(0%, 0.5%, 67.8%, 22%)
CIE-LABlab(77.82, -15.63, 64.02)
CIE-LCHlch(77.82, 65.90, 103.72°)
OKLaboklab(80.34% -0.0491 0.1431)
OKLCHoklch(80.34% 0.151 108.9)
XYZxyz(44.6742, 52.9018, 12.7073)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C640 #4041C7
analogous
#C78340 #C7C640 #84C740
triadic
#C7C640 #40C7C6 #C640C7
tetradic
#C7C640 #40C783 #4041C7 #C74084
square
#C7C640 #40C783 #4041C7 #C74084
split-complementary
#C7C640 #4084C7 #8340C7
monochromatic
#6D6C20 #9C9B2E #C7C640 #D5D46F #E3E29F

Accessibility & contrast

On white

1.81
#C7C640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#C7C640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C640
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C640#FFFFFF#000000##000000
##C7C6401.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D8C249
Tritanopia (blue-blind)
#D5BAAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c7c640;
/* rgb */ color: rgb(199, 198, 64);
/* oklch */ color: oklch(80.3% 0.151 108.9);
Tailwind
colors: {
  custom: {
    50: '#dbd77d',
    500: '#c7c640',
    950: '#000000',
  },
}
SCSS
$custom: #c7c640;
$custom-light: #dbd77d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c640",
  "rgb": {
    "r": 199,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 59.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80339,
    "c": 0.15127,
    "h": 108.9
  },
  "luminance": 0.529
}

Semantic roles & 50–950 ramp

primary
#C7C640
secondary
#353576
accent
#4BDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C640

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

Preview Lab → · Contrast checker → · Palette generator →

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