#7B971E#7B971E

#7B971E is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.3% C 0.144 H 122.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7B971E
RGBrgb(123, 151, 30)
HSLhsl(74, 67%, 35%)
HSVhsv(74, 80%, 59%)
CMYKcmyk(18.5%, 0%, 80.1%, 40.8%)
CIE-LABlab(58.45, -26.16, 55.31)
CIE-LCHlch(58.45, 61.19, 115.31°)
OKLaboklab(63.29% -0.0771 0.1212)
OKLCHoklch(63.29% 0.144 122.5)
XYZxyz(19.4696, 26.4378, 5.3054)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B971E #3A1E97
analogous
#97761E #7B971E #3F971E
triadic
#7B971E #1E7B97 #971E7B
tetradic
#7B971E #1E9776 #3A1E97 #971E3F
square
#7B971E #1E9776 #3A1E97 #971E3F
split-complementary
#7B971E #1E3F97 #761E97
monochromatic
#28310A #516414 #7B971E #A5CA28 #BDDD53

Accessibility & contrast

On white

3.34
#7B971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7B971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B971E
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B971E#FFFFFF#000000##000000
##7B971E1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9D8C2A
Tritanopia (blue-blind)
#828F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b971e;
/* rgb */ color: rgb(123, 151, 30);
/* oklch */ color: oklch(63.3% 0.144 122.5);
Tailwind
colors: {
  custom: {
    50: '#a5b565',
    500: '#7b971e',
    950: '#000000',
  },
}
SCSS
$custom: #7b971e;
$custom-light: #a5b565;
$custom-dark: #000000;
JSON
{
  "hex": "#7b971e",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 73.884,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63292,
    "c": 0.14368,
    "h": 122.5
  },
  "luminance": 0.26438
}

Semantic roles & 50–950 ramp

primary
#7B971E
secondary
#6B51C0
accent
#3EEA66
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B971E

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

Preview Lab → · Contrast checker → · Palette generator →

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