#C7D451#C7D451

#C7D451 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.5% C 0.154 H 114.6°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#C7D451
RGBrgb(199, 212, 81)
HSLhsl(66, 60%, 57%)
HSVhsv(66, 62%, 83%)
CMYKcmyk(6.1%, 0%, 61.8%, 16.9%)
CIE-LABlab(81.74, -21.53, 61.31)
CIE-LCHlch(81.74, 64.98, 109.35°)
OKLaboklab(83.52% -0.064 0.1399)
OKLCHoklch(83.52% 0.154 114.6)
XYZxyz(48.5830, 59.8240, 16.7709)
Luminance0.5982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D451 #5E51D4
analogous
#D49F51 #C7D451 #86D451
triadic
#C7D451 #51C7D4 #D451C7
tetradic
#C7D451 #51D49F #5E51D4 #D45186
square
#C7D451 #51D49F #5E51D4 #D45186
split-complementary
#C7D451 #5186D4 #9F51D4
monochromatic
#7F8922 #ACBA2E #C7D451 #D7E082 #E7ECB3

Accessibility & contrast

On white

1.62
#C7D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#C7D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D451
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D451#FFFFFF#000000##000000
##C7D4511.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA41
Deuteranopia (green-blind)
#E2CC5A
Tritanopia (blue-blind)
#D3C8B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c7d451;
/* rgb */ color: rgb(199, 212, 81);
/* oklch */ color: oklch(83.5% 0.154 114.6);
Tailwind
colors: {
  custom: {
    50: '#dbe188',
    500: '#c7d451',
    950: '#000000',
  },
}
SCSS
$custom: #c7d451;
$custom-light: #dbe188;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d451",
  "rgb": {
    "r": 199,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 65.954,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83519,
    "c": 0.15386,
    "h": 114.6
  },
  "luminance": 0.59823
}

Semantic roles & 50–950 ramp

primary
#C7D451
secondary
#433A8F
accent
#44E454
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D451

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

Preview Lab → · Contrast checker → · Palette generator →

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