#7E983D#7E983D

#7E983D is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 64.0% C 0.122 H 123.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7E983D
RGBrgb(126, 152, 61)
HSLhsl(77, 43%, 42%)
HSVhsv(77, 60%, 60%)
CMYKcmyk(17.1%, 0%, 59.9%, 40.4%)
CIE-LABlab(59.19, -23.37, 43.88)
CIE-LCHlch(59.19, 49.72, 118.04°)
OKLaboklab(64.01% -0.0667 0.1018)
OKLCHoklch(64.01% 0.122 123.3)
XYZxyz(20.6749, 27.2289, 8.5805)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E983D #573D98
analogous
#98853D #7E983D #51983D
triadic
#7E983D #3D7E98 #983D7E
tetradic
#7E983D #3D9885 #573D98 #983D51
square
#7E983D #3D9885 #573D98 #983D51
split-complementary
#7E983D #3D5198 #853D98
monochromatic
#36411A #5A6C2B #7E983D #9FBB57 #B8CD82

Accessibility & contrast

On white

3.26
#7E983D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7E983D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E983D
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E983D#FFFFFF#000000##000000
##7E983D1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F33
Deuteranopia (green-blind)
#9D8E43
Tritanopia (blue-blind)
#849184
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e983d;
/* rgb */ color: rgb(126, 152, 61);
/* oklch */ color: oklch(64.0% 0.122 123.3);
Tailwind
colors: {
  custom: {
    50: '#a6b676',
    500: '#7e983d',
    950: '#000000',
  },
}
SCSS
$custom: #7e983d;
$custom-light: #a6b676;
$custom-dark: #000000;
JSON
{
  "hex": "#7e983d",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 61
  },
  "hsl": {
    "h": 77.143,
    "s": 42.723,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64011,
    "c": 0.12174,
    "h": 123.3
  },
  "luminance": 0.27229
}

Semantic roles & 50–950 ramp

primary
#7E983D
secondary
#8B7AB7
accent
#55D379
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101109
muted
#7F807B

Preview Lab

Preview with #7E983D

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

Preview Lab → · Contrast checker → · Palette generator →

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