#7B951A#7B951A

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

Color values

HEX#7B951A
RGBrgb(123, 149, 26)
HSLhsl(73, 70%, 34%)
HSVhsv(73, 83%, 58%)
CMYKcmyk(17.4%, 0%, 82.6%, 41.6%)
CIE-LABlab(57.83, -25.35, 55.92)
CIE-LCHlch(57.83, 61.40, 114.38°)
OKLaboklab(62.78% -0.0752 0.1219)
OKLCHoklch(62.78% 0.143 121.7)
XYZxyz(19.1026, 25.7804, 4.9468)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B951A #341A95
analogous
#95721A #7B951A #3E951A
triadic
#7B951A #1A7B95 #951A7B
tetradic
#7B951A #1A9572 #341A95 #951A3E
square
#7B951A #1A9572 #341A95 #951A3E
split-complementary
#7B951A #1A3E95 #721A95
monochromatic
#252D08 #506111 #7B951A #A6C923 #C0DF4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B951A#FFFFFF#000000##000000
##7B951A1.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)
#9F8B00
Deuteranopia (green-blind)
#9B8B27
Tritanopia (blue-blind)
#828D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b951a;
/* rgb */ color: rgb(123, 149, 26);
/* oklch */ color: oklch(62.8% 0.143 121.7);
Tailwind
colors: {
  custom: {
    50: '#a5b463',
    500: '#7b951a',
    950: '#000000',
  },
}
SCSS
$custom: #7b951a;
$custom-light: #a5b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7b951a",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 72.683,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62784,
    "c": 0.14317,
    "h": 121.7
  },
  "luminance": 0.2578
}

Semantic roles & 50–950 ramp

primary
#7B951A
secondary
#634AC1
accent
#3BED60
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B951A

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

Preview Lab → · Contrast checker → · Palette generator →

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