#C7D351#C7D351

#C7D351 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.3% C 0.153 H 114.2°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#C7D351
RGBrgb(199, 211, 81)
HSLhsl(66, 60%, 57%)
HSVhsv(66, 62%, 83%)
CMYKcmyk(5.7%, 0%, 61.6%, 17.3%)
CIE-LABlab(81.47, -21.04, 61.02)
CIE-LCHlch(81.47, 64.55, 109.02°)
OKLaboklab(83.3% -0.0626 0.1393)
OKLCHoklch(83.3% 0.153 114.2)
XYZxyz(48.3338, 59.3256, 16.6878)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D351 #5D51D3
analogous
#D39E51 #C7D351 #86D351
triadic
#C7D351 #51C7D3 #D351C7
tetradic
#C7D351 #51D39E #5D51D3 #D35186
square
#C7D351 #51D39E #5D51D3 #D35186
split-complementary
#C7D351 #5186D3 #9E51D3
monochromatic
#7E8722 #ACB82F #C7D351 #D7DF82 #E6ECB3

Accessibility & contrast

On white

1.63
#C7D351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#C7D351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D351
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D351#FFFFFF#000000##000000
##C7D3511.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#E1CC59
Tritanopia (blue-blind)
#D3C7B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d351;
/* rgb */ color: rgb(199, 211, 81);
/* oklch */ color: oklch(83.3% 0.153 114.2);
Tailwind
colors: {
  custom: {
    50: '#dbe087',
    500: '#c7d351',
    950: '#000000',
  },
}
SCSS
$custom: #c7d351;
$custom-light: #dbe087;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d351",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 65.538,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83301,
    "c": 0.15272,
    "h": 114.2
  },
  "luminance": 0.59325
}

Semantic roles & 50–950 ramp

primary
#C7D351
secondary
#423A8E
accent
#45E354
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D351

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

Preview Lab → · Contrast checker → · Palette generator →

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