#7A951F#7A951F

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

Color values

HEX#7A951F
RGBrgb(122, 149, 31)
HSLhsl(74, 66%, 35%)
HSVhsv(74, 79%, 58%)
CMYKcmyk(18.1%, 0%, 79.2%, 41.6%)
CIE-LABlab(57.78, -25.56, 54.37)
CIE-LCHlch(57.78, 60.07, 115.18°)
OKLaboklab(62.74% -0.0753 0.1194)
OKLCHoklch(62.74% 0.141 122.2)
XYZxyz(19.0211, 25.7313, 5.2606)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A951F #3A1F95
analogous
#95751F #7A951F #3F951F
triadic
#7A951F #1F7A95 #951F7A
tetradic
#7A951F #1F9575 #3A1F95 #951F3F
square
#7A951F #1F9575 #3A1F95 #951F3F
split-complementary
#7A951F #1F3F95 #751F95
monochromatic
#27300A #516214 #7A951F #A3C82A #BCDB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A951F#FFFFFF#000000##000000
##7A951F1.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)
#9B8B2B
Tritanopia (blue-blind)
#818D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a951f;
/* rgb */ color: rgb(122, 149, 31);
/* oklch */ color: oklch(62.7% 0.141 122.2);
Tailwind
colors: {
  custom: {
    50: '#a4b465',
    500: '#7a951f',
    950: '#000000',
  },
}
SCSS
$custom: #7a951f;
$custom-light: #a4b465;
$custom-dark: #000000;
JSON
{
  "hex": "#7a951f",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 73.729,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62735,
    "c": 0.1412,
    "h": 122.2
  },
  "luminance": 0.25731
}

Semantic roles & 50–950 ramp

primary
#7A951F
secondary
#6A51BF
accent
#3FE966
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A951F

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

Preview Lab → · Contrast checker → · Palette generator →

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