#76981F#76981F

#76981F is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.2% C 0.147 H 124.8°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#76981F
RGBrgb(118, 152, 31)
HSLhsl(77, 66%, 36%)
HSVhsv(77, 80%, 60%)
CMYKcmyk(22.4%, 0%, 79.6%, 40.4%)
CIE-LABlab(58.42, -28.70, 54.85)
CIE-LCHlch(58.42, 61.91, 117.62°)
OKLaboklab(63.18% -0.0837 0.1206)
OKLCHoklch(63.18% 0.147 124.8)
XYZxyz(18.9470, 26.4067, 5.3949)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76981F #411F98
analogous
#987D1F #76981F #39981F
triadic
#76981F #1F7698 #981F76
tetradic
#76981F #1F987D #411F98 #981F39
square
#76981F #1F987D #411F98 #981F39
split-complementary
#76981F #1F3998 #7D1F98
monochromatic
#27320A #4F6515 #76981F #9DCB29 #B6DC55

Accessibility & contrast

On white

3.34
#76981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#76981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76981F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76981F#FFFFFF#000000##000000
##76981F1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#7C9082
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #76981f;
/* rgb */ color: rgb(118, 152, 31);
/* oklch */ color: oklch(63.2% 0.147 124.8);
Tailwind
colors: {
  custom: {
    50: '#a1b666',
    500: '#76981f',
    950: '#000000',
  },
}
SCSS
$custom: #76981f;
$custom-light: #a1b666;
$custom-dark: #000000;
JSON
{
  "hex": "#76981f",
  "rgb": {
    "r": 118,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 76.86,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63183,
    "c": 0.14677,
    "h": 124.8
  },
  "luminance": 0.26407
}

Semantic roles & 50–950 ramp

primary
#76981F
secondary
#7253C0
accent
#3FE96F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #76981F

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

Preview Lab → · Contrast checker → · Palette generator →

#76981F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva