#7E983F#7E983F

#7E983F is a light, moderate yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.120 H 123.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7E983F
RGBrgb(126, 152, 63)
HSLhsl(78, 41%, 42%)
HSVhsv(78, 59%, 60%)
CMYKcmyk(17.1%, 0%, 58.6%, 40.4%)
CIE-LABlab(59.21, -23.19, 42.97)
CIE-LCHlch(59.21, 48.83, 118.36°)
OKLaboklab(64.03% -0.0661 0.1001)
OKLCHoklch(64.03% 0.12 123.4)
XYZxyz(20.7297, 27.2509, 8.8695)
Luminance0.2725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E983F #593F98
analogous
#98863F #7E983F #52983F
triadic
#7E983F #3F7E98 #983F7E
tetradic
#7E983F #3F9886 #593F98 #983F52
square
#7E983F #3F9886 #593F98 #983F52
split-complementary
#7E983F #3F5298 #863F98
monochromatic
#36411B #5A6D2D #7E983F #9EBA5A #B8CC85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E983F#FFFFFF#000000##000000
##7E983F1.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)
#A08F36
Deuteranopia (green-blind)
#9D8E45
Tritanopia (blue-blind)
#849185
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e983f;
/* rgb */ color: rgb(126, 152, 63);
/* oklch */ color: oklch(64.0% 0.120 123.4);
Tailwind
colors: {
  custom: {
    50: '#a5b677',
    500: '#7e983f',
    950: '#000000',
  },
}
SCSS
$custom: #7e983f;
$custom-light: #a5b677;
$custom-dark: #000000;
JSON
{
  "hex": "#7e983f",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 63
  },
  "hsl": {
    "h": 77.528,
    "s": 41.395,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64034,
    "c": 0.11992,
    "h": 123.4
  },
  "luminance": 0.27251
}

Semantic roles & 50–950 ramp

primary
#7E983F
secondary
#8D7CB7
accent
#57D17A
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #7E983F

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

Preview Lab → · Contrast checker → · Palette generator →

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