#7A941F#7A941F

#7A941F is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.5% C 0.140 H 121.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7A941F
RGBrgb(122, 148, 31)
HSLhsl(73, 65%, 35%)
HSVhsv(73, 79%, 58%)
CMYKcmyk(17.6%, 0%, 79.1%, 42%)
CIE-LABlab(57.48, -25.07, 54.09)
CIE-LCHlch(57.48, 59.61, 114.87°)
OKLaboklab(62.49% -0.074 0.1188)
OKLCHoklch(62.49% 0.14 121.9)
XYZxyz(18.8636, 25.4163, 5.2081)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A941F #391F94
analogous
#94731F #7A941F #40941F
triadic
#7A941F #1F7A94 #941F7A
tetradic
#7A941F #1F9473 #391F94 #941F40
square
#7A941F #1F9473 #391F94 #941F40
split-complementary
#7A941F #1F4094 #731F94
monochromatic
#272F0A #506114 #7A941F #A4C72A #BDDB53

Accessibility & contrast

On white

3.45
#7A941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7A941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A941F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A941F#FFFFFF#000000##000000
##7A941F1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#818C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7a941f;
/* rgb */ color: rgb(122, 148, 31);
/* oklch */ color: oklch(62.5% 0.140 121.9);
Tailwind
colors: {
  custom: {
    50: '#a4b365',
    500: '#7a941f',
    950: '#000000',
  },
}
SCSS
$custom: #7a941f;
$custom-light: #a4b365;
$custom-dark: #000000;
JSON
{
  "hex": "#7a941f",
  "rgb": {
    "r": 122,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 73.333,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62491,
    "c": 0.13998,
    "h": 121.9
  },
  "luminance": 0.25416
}

Semantic roles & 50–950 ramp

primary
#7A941F
secondary
#6951BE
accent
#3FE865
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A941F

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

Preview Lab → · Contrast checker → · Palette generator →

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