#C7D246#C7D246

#C7D246 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.0% C 0.160 H 113.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#C7D246
RGBrgb(199, 210, 70)
HSLhsl(65, 61%, 55%)
HSVhsv(65, 67%, 82%)
CMYKcmyk(5.2%, 0%, 66.7%, 17.6%)
CIE-LABlab(81.11, -21.24, 65.06)
CIE-LCHlch(81.11, 68.44, 108.08°)
OKLaboklab(82.99% -0.0642 0.1462)
OKLCHoklch(82.99% 0.16 113.7)
XYZxyz(47.7066, 58.6784, 14.6061)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D246 #5146D2
analogous
#D29746 #C7D246 #81D246
triadic
#C7D246 #46C7D2 #D246C7
tetradic
#C7D246 #46D297 #5146D2 #D24681
square
#C7D246 #46D297 #5146D2 #D24681
split-complementary
#C7D246 #4681D2 #9746D2
monochromatic
#777F1F #A6B02B #C7D246 #D6DE77 #E5EAA8

Accessibility & contrast

On white

1.65
#C7D246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#C7D246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D246
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D246#FFFFFF#000000##000000
##C7D2461.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C831
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#D4C6B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d246;
/* rgb */ color: rgb(199, 210, 70);
/* oklch */ color: oklch(83.0% 0.160 113.7);
Tailwind
colors: {
  custom: {
    50: '#dbdf81',
    500: '#c7d246',
    950: '#000000',
  },
}
SCSS
$custom: #c7d246;
$custom-light: #dbdf81;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d246",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 70
  },
  "hsl": {
    "h": 64.714,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82989,
    "c": 0.15972,
    "h": 113.7
  },
  "luminance": 0.58677
}

Semantic roles & 50–950 ramp

primary
#C7D246
secondary
#3C3686
accent
#44E450
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D246

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

Preview Lab → · Contrast checker → · Palette generator →

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