#C7D846#C7D846

#C7D846 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.3% C 0.166 H 115.8°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#C7D846
RGBrgb(199, 216, 70)
HSLhsl(67, 65%, 56%)
HSVhsv(67, 68%, 85%)
CMYKcmyk(7.9%, 0%, 67.6%, 15.3%)
CIE-LABlab(82.75, -24.15, 66.72)
CIE-LCHlch(82.75, 70.95, 109.90°)
OKLaboklab(84.3% -0.0724 0.1497)
OKLCHoklch(84.3% 0.166 115.8)
XYZxyz(49.2157, 61.6968, 15.1092)
Luminance0.6170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D846 #5746D8
analogous
#D8A046 #C7D846 #7ED846
triadic
#C7D846 #46C7D8 #D846C7
tetradic
#C7D846 #46D8A0 #5746D8 #D8467E
square
#C7D846 #46D8A0 #5746D8 #D8467E
split-complementary
#C7D846 #467ED8 #A046D8
monochromatic
#7B871C #A9BA27 #C7D846 #D6E379 #E6EDAB

Accessibility & contrast

On white

1.57
#C7D846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#C7D846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D846
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D846#FFFFFF#000000##000000
##C7D8461.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD30
Deuteranopia (green-blind)
#E5CF51
Tritanopia (blue-blind)
#D3CCBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d846;
/* rgb */ color: rgb(199, 216, 70);
/* oklch */ color: oklch(84.3% 0.166 115.8);
Tailwind
colors: {
  custom: {
    50: '#dbe382',
    500: '#c7d846',
    950: '#000000',
  },
}
SCSS
$custom: #c7d846;
$custom-light: #dbe382;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d846",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 70
  },
  "hsl": {
    "h": 66.986,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84302,
    "c": 0.1663,
    "h": 115.8
  },
  "luminance": 0.61696
}

Semantic roles & 50–950 ramp

primary
#C7D846
secondary
#3F358D
accent
#40E853
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D846

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

Preview Lab → · Contrast checker → · Palette generator →

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