#C7C366#C7C366

#C7C366 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.116 H 106.5°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#C7C366
RGBrgb(199, 195, 102)
HSLhsl(58, 46%, 59%)
HSVhsv(58, 49%, 78%)
CMYKcmyk(0%, 2%, 48.7%, 22%)
CIE-LABlab(77.36, -11.37, 46.83)
CIE-LCHlch(77.36, 48.19, 103.65°)
OKLaboklab(80.09% -0.033 0.1111)
OKLCHoklch(80.09% 0.116 106.5)
XYZxyz(45.4677, 52.1329, 20.2353)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C366 #666AC7
analogous
#C79366 #C7C366 #9BC766
triadic
#C7C366 #66C7C3 #C366C7
tetradic
#C7C366 #66C793 #666AC7 #C7669B
square
#C7C366 #66C793 #666AC7 #C7669B
split-complementary
#C7C366 #669BC7 #9366C7
monochromatic
#837F30 #B0AB40 #C7C366 #D7D593 #E8E6C0

Accessibility & contrast

On white

1.84
#C7C366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#C7C366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C366
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C366#FFFFFF#000000##000000
##C7C3661.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD5E
Deuteranopia (green-blind)
#D3C16A
Tritanopia (blue-blind)
#D3B9AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c7c366;
/* rgb */ color: rgb(199, 195, 102);
/* oklch */ color: oklch(80.1% 0.116 106.5);
Tailwind
colors: {
  custom: {
    50: '#dad594',
    500: '#c7c366',
    950: '#000000',
  },
}
SCSS
$custom: #c7c366;
$custom-light: #dad594;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c366",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 57.526,
    "s": 46.411,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80088,
    "c": 0.11594,
    "h": 106.5
  },
  "luminance": 0.52132
}

Semantic roles & 50–950 ramp

primary
#C7C366
secondary
#47498B
accent
#57D652
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C7C366

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

Preview Lab → · Contrast checker → · Palette generator →

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