#C7C841#C7C841

#C7C841 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.8% C 0.153 H 109.8°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#C7C841
RGBrgb(199, 200, 65)
HSLhsl(60, 55%, 52%)
HSVhsv(60, 68%, 78%)
CMYKcmyk(0.5%, 0%, 67.5%, 21.6%)
CIE-LABlab(78.36, -16.58, 64.19)
CIE-LCHlch(78.36, 66.29, 104.48°)
OKLaboklab(80.78% -0.0517 0.1436)
OKLCHoklch(80.78% 0.153 109.8)
XYZxyz(45.1631, 53.8336, 13.0119)
Luminance0.5383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C841 #4241C8
analogous
#C88541 #C7C841 #84C841
triadic
#C7C841 #41C7C8 #C841C7
tetradic
#C7C841 #41C885 #4241C8 #C84184
square
#C7C841 #41C885 #4241C8 #C84184
split-complementary
#C7C841 #4184C8 #8541C8
monochromatic
#6E6F20 #9D9E2E #C7C841 #D5D670 #E3E3A0

Accessibility & contrast

On white

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

On black

11.77
#C7C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C841
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C841#FFFFFF#000000##000000
##C7C8411.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02C
Deuteranopia (green-blind)
#D9C44A
Tritanopia (blue-blind)
#D5BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c841;
/* rgb */ color: rgb(199, 200, 65);
/* oklch */ color: oklch(80.8% 0.153 109.8);
Tailwind
colors: {
  custom: {
    50: '#dbd87d',
    500: '#c7c841',
    950: '#000000',
  },
}
SCSS
$custom: #c7c841;
$custom-light: #dbd87d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c841",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 60.444,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80779,
    "c": 0.15261,
    "h": 109.8
  },
  "luminance": 0.53832
}

Semantic roles & 50–950 ramp

primary
#C7C841
secondary
#363578
accent
#49DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C841

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

Preview Lab → · Contrast checker → · Palette generator →

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