#7A951E#7A951E

#7A951E is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.7% C 0.142 H 122.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7A951E
RGBrgb(122, 149, 30)
HSLhsl(74, 66%, 35%)
HSVhsv(74, 80%, 58%)
CMYKcmyk(18.1%, 0%, 79.9%, 41.6%)
CIE-LABlab(57.78, -25.61, 54.67)
CIE-LCHlch(57.78, 60.37, 115.10°)
OKLaboklab(62.73% -0.0755 0.1199)
OKLCHoklch(62.73% 0.142 122.2)
XYZxyz(19.0081, 25.7262, 5.1923)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A951E #391E95
analogous
#95741E #7A951E #3F951E
triadic
#7A951E #1E7A95 #951E7A
tetradic
#7A951E #1E9574 #391E95 #951E3F
square
#7A951E #1E9574 #391E95 #951E3F
split-complementary
#7A951E #1E3F95 #741E95
monochromatic
#272F09 #506214 #7A951E #A4C828 #BDDC51

Accessibility & contrast

On white

3.42
#7A951E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#7A951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A951E
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A951E#FFFFFF#000000##000000
##7A951E1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a951e;
/* rgb */ color: rgb(122, 149, 30);
/* oklch */ color: oklch(62.7% 0.142 122.2);
Tailwind
colors: {
  custom: {
    50: '#a4b465',
    500: '#7a951e',
    950: '#000000',
  },
}
SCSS
$custom: #7a951e;
$custom-light: #a4b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7a951e",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 73.613,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6273,
    "c": 0.14171,
    "h": 122.2
  },
  "luminance": 0.25726
}

Semantic roles & 50–950 ramp

primary
#7A951E
secondary
#6950BF
accent
#3EE965
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A951E

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

Preview Lab → · Contrast checker → · Palette generator →

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