#C7D841#C7D841

#C7D841 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.3% C 0.170 H 115.7°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#C7D841
RGBrgb(199, 216, 65)
HSLhsl(67, 66%, 55%)
HSVhsv(67, 70%, 85%)
CMYKcmyk(7.9%, 0%, 69.9%, 15.3%)
CIE-LABlab(82.72, -24.42, 68.52)
CIE-LCHlch(82.72, 72.74, 109.62°)
OKLaboklab(84.27% -0.0736 0.1527)
OKLCHoklch(84.27% 0.17 115.7)
XYZxyz(49.0644, 61.6363, 14.3123)
Luminance0.6164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D841 #5241D8
analogous
#D89E41 #C7D841 #7BD841
triadic
#C7D841 #41C7D8 #D841C7
tetradic
#C7D841 #41D89E #5241D8 #D8417B
square
#C7D841 #41D89E #5241D8 #D8417B
split-complementary
#C7D841 #417BD8 #9E41D8
monochromatic
#78841B #A6B625 #C7D841 #D6E274 #E5EDA7

Accessibility & contrast

On white

1.58
#C7D841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#C7D841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D841
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D841#FFFFFF#000000##000000
##C7D8411.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD27
Deuteranopia (green-blind)
#E6CF4D
Tritanopia (blue-blind)
#D4CCBA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d841;
/* rgb */ color: rgb(199, 216, 65);
/* oklch */ color: oklch(84.3% 0.170 115.7);
Tailwind
colors: {
  custom: {
    50: '#dbe37f',
    500: '#c7d841',
    950: '#000000',
  },
}
SCSS
$custom: #c7d841;
$custom-light: #dbe37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d841",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 65
  },
  "hsl": {
    "h": 66.755,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.84265,
    "c": 0.16952,
    "h": 115.7
  },
  "luminance": 0.61636
}

Semantic roles & 50–950 ramp

primary
#C7D841
secondary
#3D338A
accent
#3FE952
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D841

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

Preview Lab → · Contrast checker → · Palette generator →

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