#C7D954#C7D954

#C7D954 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.6% C 0.157 H 116.4°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#C7D954
RGBrgb(199, 217, 84)
HSLhsl(68, 64%, 59%)
HSVhsv(68, 61%, 85%)
CMYKcmyk(8.3%, 0%, 61.3%, 14.9%)
CIE-LABlab(83.13, -23.75, 61.56)
CIE-LCHlch(83.13, 65.98, 111.09°)
OKLaboklab(84.64% -0.0699 0.1409)
OKLCHoklch(84.64% 0.157 116.4)
XYZxyz(49.9673, 62.4085, 17.7996)
Luminance0.6241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D954 #6654D9
analogous
#D9A954 #C7D954 #85D954
triadic
#C7D954 #54C7D9 #D954C7
tetradic
#C7D954 #54D9A9 #6654D9 #D95485
square
#C7D954 #54D9A9 #6654D9 #D95485
split-complementary
#C7D954 #5485D9 #A954D9
monochromatic
#839220 #B0C42C #C7D954 #D7E486 #E8EFB8

Accessibility & contrast

On white

1.56
#C7D954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#C7D954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D954
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D954#FFFFFF#000000##000000
##C7D9541.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE44
Deuteranopia (green-blind)
#E5D05D
Tritanopia (blue-blind)
#D3CEBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d954;
/* rgb */ color: rgb(199, 217, 84);
/* oklch */ color: oklch(84.6% 0.157 116.4);
Tailwind
colors: {
  custom: {
    50: '#dbe48a',
    500: '#c7d954',
    950: '#000000',
  },
}
SCSS
$custom: #c7d954;
$custom-light: #dbe48a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d954",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 68.12,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84639,
    "c": 0.15724,
    "h": 116.4
  },
  "luminance": 0.62408
}

Semantic roles & 50–950 ramp

primary
#C7D954
secondary
#473A97
accent
#41E758
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D954

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

Preview Lab → · Contrast checker → · Palette generator →

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