#7D9819#7D9819

#7D9819 is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.7% C 0.146 H 121.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7D9819
RGBrgb(125, 152, 25)
HSLhsl(73, 72%, 35%)
HSVhsv(73, 84%, 60%)
CMYKcmyk(17.8%, 0%, 83.6%, 40.4%)
CIE-LABlab(58.87, -26.01, 57.17)
CIE-LCHlch(58.87, 62.80, 114.46°)
OKLaboklab(63.66% -0.0771 0.1243)
OKLCHoklch(63.66% 0.146 121.8)
XYZxyz(19.8615, 26.8866, 5.0628)
Luminance0.2689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9819 #341998
analogous
#987419 #7D9819 #3E9819
triadic
#7D9819 #197D98 #98197D
tetradic
#7D9819 #199874 #341998 #98193E
square
#7D9819 #199874 #341998 #98193E
split-complementary
#7D9819 #193E98 #741998
monochromatic
#272F08 #526310 #7D9819 #A8CD22 #C1E14A

Accessibility & contrast

On white

3.29
#7D9819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#7D9819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9819
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9819#FFFFFF#000000##000000
##7D98191.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#9E8E27
Tritanopia (blue-blind)
#849081
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d9819;
/* rgb */ color: rgb(125, 152, 25);
/* oklch */ color: oklch(63.7% 0.146 121.8);
Tailwind
colors: {
  custom: {
    50: '#a6b663',
    500: '#7d9819',
    950: '#000000',
  },
}
SCSS
$custom: #7d9819;
$custom-light: #a6b663;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9819",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 25
  },
  "hsl": {
    "h": 72.756,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63659,
    "c": 0.14626,
    "h": 121.8
  },
  "luminance": 0.26887
}

Semantic roles & 50–950 ramp

primary
#7D9819
secondary
#644AC3
accent
#39EE60
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9819

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

Preview Lab → · Contrast checker → · Palette generator →

#7D9819 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva