#C7C846#C7C846

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

Color values

HEX#C7C846
RGBrgb(199, 200, 70)
HSLhsl(60, 54%, 53%)
HSVhsv(60, 65%, 78%)
CMYKcmyk(0.5%, 0%, 65%, 21.6%)
CIE-LABlab(78.40, -16.29, 62.28)
CIE-LCHlch(78.40, 64.37, 104.66°)
OKLaboklab(80.82% -0.0504 0.1404)
OKLCHoklch(80.82% 0.149 109.7)
XYZxyz(45.3144, 53.8941, 13.8087)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C846 #4746C8
analogous
#C88846 #C7C846 #86C846
triadic
#C7C846 #46C7C8 #C846C7
tetradic
#C7C846 #46C888 #4746C8 #C84686
square
#C7C846 #46C888 #4746C8 #C84686
split-complementary
#C7C846 #4686C8 #8846C8
monochromatic
#717222 #A0A130 #C7C846 #D5D675 #E4E4A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C846#FFFFFF#000000##000000
##C7C8461.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)
#D7C034
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#D4BCAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c846;
/* rgb */ color: rgb(199, 200, 70);
/* oklch */ color: oklch(80.8% 0.149 109.7);
Tailwind
colors: {
  custom: {
    50: '#dbd880',
    500: '#c7c846',
    950: '#000000',
  },
}
SCSS
$custom: #c7c846;
$custom-light: #dbd880;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c846",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 60.462,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80818,
    "c": 0.14913,
    "h": 109.7
  },
  "luminance": 0.53893
}

Semantic roles & 50–950 ramp

primary
#C7C846
secondary
#38377B
accent
#4ADE4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C846

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

Preview Lab → · Contrast checker → · Palette generator →

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