#77981F#77981F

#77981F is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 63.3% C 0.146 H 124.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#77981F
RGBrgb(119, 152, 31)
HSLhsl(76, 66%, 36%)
HSVhsv(76, 80%, 60%)
CMYKcmyk(21.7%, 0%, 79.6%, 40.4%)
CIE-LABlab(58.49, -28.28, 54.94)
CIE-LCHlch(58.49, 61.79, 117.24°)
OKLaboklab(63.25% -0.0826 0.1207)
OKLCHoklch(63.25% 0.146 124.4)
XYZxyz(19.0835, 26.4771, 5.4013)
Luminance0.2648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77981F #401F98
analogous
#987C1F #77981F #3A981F
triadic
#77981F #1F7798 #981F77
tetradic
#77981F #1F987C #401F98 #981F3A
square
#77981F #1F987C #401F98 #981F3A
split-complementary
#77981F #1F3A98 #7C1F98
monochromatic
#27320A #4F6515 #77981F #9FCB29 #B7DC55

Accessibility & contrast

On white

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

On black

6.30
#77981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77981F
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77981F#FFFFFF#000000##000000
##77981F1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9D8C2B
Tritanopia (blue-blind)
#7D9082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #77981f;
/* rgb */ color: rgb(119, 152, 31);
/* oklch */ color: oklch(63.3% 0.146 124.4);
Tailwind
colors: {
  custom: {
    50: '#a2b666',
    500: '#77981f',
    950: '#000000',
  },
}
SCSS
$custom: #77981f;
$custom-light: #a2b666;
$custom-dark: #000000;
JSON
{
  "hex": "#77981f",
  "rgb": {
    "r": 119,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 76.364,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63254,
    "c": 0.14628,
    "h": 124.4
  },
  "luminance": 0.26477
}

Semantic roles & 50–950 ramp

primary
#77981F
secondary
#7153C0
accent
#3FE96D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #77981F

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

Preview Lab → · Contrast checker → · Palette generator →

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