#C7D84F#C7D84F

#C7D84F is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.4% C 0.160 H 115.9°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#C7D84F
RGBrgb(199, 216, 79)
HSLhsl(67, 64%, 58%)
HSVhsv(67, 63%, 85%)
CMYKcmyk(7.9%, 0%, 63.4%, 15.3%)
CIE-LABlab(82.82, -23.60, 63.28)
CIE-LCHlch(82.82, 67.53, 110.45°)
OKLaboklab(84.38% -0.07 0.1438)
OKLCHoklch(84.38% 0.16 115.9)
XYZxyz(49.5214, 61.8190, 16.7191)
Luminance0.6182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D84F #604FD8
analogous
#D8A44F #C7D84F #83D84F
triadic
#C7D84F #4FC7D8 #D84FC7
tetradic
#C7D84F #4FD8A4 #604FD8 #D84F83
square
#C7D84F #4FD8A4 #604FD8 #D84F83
split-complementary
#C7D84F #4F83D8 #A44FD8
monochromatic
#808D1F #ADBF2A #C7D84F #D7E381 #E7EEB3

Accessibility & contrast

On white

1.57
#C7D84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#C7D84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D84F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D84F#FFFFFF#000000##000000
##C7D84F1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3D
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#D3CCBC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d84f;
/* rgb */ color: rgb(199, 216, 79);
/* oklch */ color: oklch(84.4% 0.160 115.9);
Tailwind
colors: {
  custom: {
    50: '#dbe487',
    500: '#c7d84f',
    950: '#000000',
  },
}
SCSS
$custom: #c7d84f;
$custom-light: #dbe487;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d84f",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 67.445,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84375,
    "c": 0.15992,
    "h": 115.9
  },
  "luminance": 0.61818
}

Semantic roles & 50–950 ramp

primary
#C7D84F
secondary
#443893
accent
#41E756
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D84F

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

Preview Lab → · Contrast checker → · Palette generator →

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