#C5D246#C5D246

#C5D246 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 82.8% C 0.160 H 114.5°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#C5D246
RGBrgb(197, 210, 70)
HSLhsl(66, 61%, 55%)
HSVhsv(66, 67%, 82%)
CMYKcmyk(6.2%, 0%, 66.7%, 17.6%)
CIE-LABlab(80.96, -22.06, 64.86)
CIE-LCHlch(80.96, 68.50, 108.78°)
OKLaboklab(82.83% -0.0664 0.1459)
OKLCHoklch(82.83% 0.16 114.5)
XYZxyz(47.1793, 58.4065, 14.5814)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D246 #5346D2
analogous
#D29946 #C5D246 #7FD246
triadic
#C5D246 #46C5D2 #D246C5
tetradic
#C5D246 #46D299 #5346D2 #D2467F
square
#C5D246 #46D299 #5346D2 #D2467F
split-complementary
#C5D246 #467FD2 #9946D2
monochromatic
#767F1F #A4B02B #C5D246 #D4DE77 #E4EAA8

Accessibility & contrast

On white

1.66
#C5D246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#C5D246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D246
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D246#FFFFFF#000000##000000
##C5D2461.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5d246;
/* rgb */ color: rgb(197, 210, 70);
/* oklch */ color: oklch(82.8% 0.160 114.5);
Tailwind
colors: {
  custom: {
    50: '#dadf81',
    500: '#c5d246',
    950: '#000000',
  },
}
SCSS
$custom: #c5d246;
$custom-light: #dadf81;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d246",
  "rgb": {
    "r": 197,
    "g": 210,
    "b": 70
  },
  "hsl": {
    "h": 65.571,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82831,
    "c": 0.16027,
    "h": 114.5
  },
  "luminance": 0.58406
}

Semantic roles & 50–950 ramp

primary
#C5D246
secondary
#3D3686
accent
#44E453
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D246

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

Preview Lab → · Contrast checker → · Palette generator →

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