#C7D54F#C7D54F

#C7D54F is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.7% C 0.157 H 114.9°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#C7D54F
RGBrgb(199, 213, 79)
HSLhsl(66, 61%, 57%)
HSVhsv(66, 63%, 84%)
CMYKcmyk(6.6%, 0%, 62.9%, 16.5%)
CIE-LABlab(82.00, -22.15, 62.41)
CIE-LCHlch(82.00, 66.22, 109.54°)
OKLaboklab(83.72% -0.0659 0.142)
OKLCHoklch(83.72% 0.157 114.9)
XYZxyz(48.7599, 60.2959, 16.4653)
Luminance0.6029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D54F #5D4FD5
analogous
#D5A04F #C7D54F #84D54F
triadic
#C7D54F #4FC7D5 #D54FC7
tetradic
#C7D54F #4FD5A0 #5D4FD5 #D54F84
square
#C7D54F #4FD5A0 #5D4FD5 #D54F84
split-complementary
#C7D54F #4F84D5 #A04FD5
monochromatic
#7E8921 #ACBA2C #C7D54F #D7E180 #E6EDB2

Accessibility & contrast

On white

1.61
#C7D54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#C7D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D54F
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D54F#FFFFFF#000000##000000
##C7D54F1.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB3E
Deuteranopia (green-blind)
#E3CD58
Tritanopia (blue-blind)
#D3C9B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c7d54f;
/* rgb */ color: rgb(199, 213, 79);
/* oklch */ color: oklch(83.7% 0.157 114.9);
Tailwind
colors: {
  custom: {
    50: '#dbe186',
    500: '#c7d54f',
    950: '#000000',
  },
}
SCSS
$custom: #c7d54f;
$custom-light: #dbe186;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d54f",
  "rgb": {
    "r": 199,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 66.269,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83719,
    "c": 0.15652,
    "h": 114.9
  },
  "luminance": 0.60295
}

Semantic roles & 50–950 ramp

primary
#C7D54F
secondary
#42398F
accent
#43E554
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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