#7A951D#7A951D

#7A951D 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.14:1 contrast (WCAG AA passes).

Color values

HEX#7A951D
RGBrgb(122, 149, 29)
HSLhsl(74, 67%, 35%)
HSVhsv(74, 81%, 58%)
CMYKcmyk(18.1%, 0%, 80.5%, 41.6%)
CIE-LABlab(57.77, -25.65, 54.98)
CIE-LCHlch(57.77, 60.66, 115.01°)
OKLaboklab(62.72% -0.0757 0.1204)
OKLCHoklch(62.72% 0.142 122.2)
XYZxyz(18.9956, 25.7211, 5.1261)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A951D #381D95
analogous
#95741D #7A951D #3E951D
triadic
#7A951D #1D7A95 #951D7A
tetradic
#7A951D #1D9574 #381D95 #951D3E
square
#7A951D #1D9574 #381D95 #951D3E
split-complementary
#7A951D #1D3E95 #741D95
monochromatic
#262F09 #506213 #7A951D #A4C827 #BDDD50

Accessibility & contrast

On white

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

On black

6.14
#7A951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A951D
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A951D#FFFFFF#000000##000000
##7A951D1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a951d;
/* rgb */ color: rgb(122, 149, 29);
/* oklch */ color: oklch(62.7% 0.142 122.2);
Tailwind
colors: {
  custom: {
    50: '#a4b465',
    500: '#7a951d',
    950: '#000000',
  },
}
SCSS
$custom: #7a951d;
$custom-light: #a4b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7a951d",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 73.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62724,
    "c": 0.14221,
    "h": 122.2
  },
  "luminance": 0.25721
}

Semantic roles & 50–950 ramp

primary
#7A951D
secondary
#684EC0
accent
#3DEA64
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A951D

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

Preview Lab → · Contrast checker → · Palette generator →

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