#C7C847#C7C847

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

Color values

HEX#C7C847
RGBrgb(199, 200, 71)
HSLhsl(60, 54%, 53%)
HSVhsv(60, 65%, 78%)
CMYKcmyk(0.5%, 0%, 64.5%, 21.6%)
CIE-LABlab(78.41, -16.23, 61.88)
CIE-LCHlch(78.41, 63.98, 104.70°)
OKLaboklab(80.83% -0.0501 0.1397)
OKLCHoklch(80.83% 0.148 109.7)
XYZxyz(45.3462, 53.9068, 13.9764)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C847 #4847C8
analogous
#C88847 #C7C847 #86C847
triadic
#C7C847 #47C7C8 #C847C7
tetradic
#C7C847 #47C888 #4847C8 #C84786
square
#C7C847 #47C888 #4847C8 #C84786
split-complementary
#C7C847 #4786C8 #8847C8
monochromatic
#727222 #A1A230 #C7C847 #D5D676 #E4E4A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c7c847;
/* rgb */ color: rgb(199, 200, 71);
/* oklch */ color: oklch(80.8% 0.148 109.7);
Tailwind
colors: {
  custom: {
    50: '#dbd881',
    500: '#c7c847',
    950: '#000000',
  },
}
SCSS
$custom: #c7c847;
$custom-light: #dbd881;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c847",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 60.465,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80826,
    "c": 0.14841,
    "h": 109.7
  },
  "luminance": 0.53906
}

Semantic roles & 50–950 ramp

primary
#C7C847
secondary
#38387B
accent
#4ADD4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C847

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

Preview Lab → · Contrast checker → · Palette generator →

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