#C7D154#C7D154

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

Color values

HEX#C7D154
RGBrgb(199, 209, 84)
HSLhsl(65, 58%, 57%)
HSVhsv(65, 60%, 82%)
CMYKcmyk(4.8%, 0%, 59.8%, 18%)
CIE-LABlab(80.95, -19.85, 59.19)
CIE-LCHlch(80.95, 62.43, 108.54°)
OKLaboklab(82.89% -0.0589 0.1358)
OKLCHoklch(82.89% 0.148 113.5)
XYZxyz(47.9550, 58.3840, 17.1288)
Luminance0.5838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D154 #5E54D1
analogous
#D19D54 #C7D154 #89D154
triadic
#C7D154 #54C7D1 #D154C7
tetradic
#C7D154 #54D19D #5E54D1 #D15489
square
#C7D154 #54D19D #5E54D1 #D15489
split-complementary
#C7D154 #5489D1 #9D54D1
monochromatic
#7F8624 #ACB731 #C7D154 #D7DE84 #E7EBB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D154#FFFFFF#000000##000000
##C7D1541.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)
#DFC845
Deuteranopia (green-blind)
#DFCA5C
Tritanopia (blue-blind)
#D3C6B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d154;
/* rgb */ color: rgb(199, 209, 84);
/* oklch */ color: oklch(82.9% 0.148 113.5);
Tailwind
colors: {
  custom: {
    50: '#dbdf89',
    500: '#c7d154',
    950: '#000000',
  },
}
SCSS
$custom: #c7d154;
$custom-light: #dbdf89;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d154",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 64.8,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82894,
    "c": 0.14808,
    "h": 113.5
  },
  "luminance": 0.58383
}

Semantic roles & 50–950 ramp

primary
#C7D154
secondary
#433C8D
accent
#47E153
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D154

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

Preview Lab → · Contrast checker → · Palette generator →

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