#7B951E#7B951E

#7B951E is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.8% C 0.141 H 121.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7B951E
RGBrgb(123, 149, 30)
HSLhsl(73, 66%, 35%)
HSVhsv(73, 80%, 58%)
CMYKcmyk(17.4%, 0%, 79.9%, 41.6%)
CIE-LABlab(57.85, -25.18, 54.76)
CIE-LCHlch(57.85, 60.27, 114.69°)
OKLaboklab(62.8% -0.0744 0.1201)
OKLCHoklch(62.8% 0.141 121.8)
XYZxyz(19.1505, 25.7996, 5.1990)
Luminance0.2580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B951E #381E95
analogous
#95731E #7B951E #40951E
triadic
#7B951E #1E7B95 #951E7B
tetradic
#7B951E #1E9573 #381E95 #951E40
square
#7B951E #1E9573 #381E95 #951E40
split-complementary
#7B951E #1E4095 #731E95
monochromatic
#272F09 #516214 #7B951E #A5C828 #BEDC51

Accessibility & contrast

On white

3.41
#7B951E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7B951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B951E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B951E#FFFFFF#000000##000000
##7B951E1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C00
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#828D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b951e;
/* rgb */ color: rgb(123, 149, 30);
/* oklch */ color: oklch(62.8% 0.141 121.8);
Tailwind
colors: {
  custom: {
    50: '#a5b465',
    500: '#7b951e',
    950: '#000000',
  },
}
SCSS
$custom: #7b951e;
$custom-light: #a5b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7b951e",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 73.109,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62804,
    "c": 0.14126,
    "h": 121.8
  },
  "luminance": 0.258
}

Semantic roles & 50–950 ramp

primary
#7B951E
secondary
#6850BF
accent
#3EE964
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B951E

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

Preview Lab → · Contrast checker → · Palette generator →

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