#7A9121#7A9121

#7A9121 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.8% C 0.135 H 120.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7A9121
RGBrgb(122, 145, 33)
HSLhsl(72, 63%, 35%)
HSVhsv(72, 77%, 57%)
CMYKcmyk(15.9%, 0%, 77.2%, 43.1%)
CIE-LABlab(56.58, -23.48, 52.60)
CIE-LCHlch(56.58, 57.60, 114.05°)
OKLaboklab(61.77% -0.0695 0.1161)
OKLCHoklch(61.77% 0.135 120.9)
XYZxyz(18.4263, 24.4982, 5.1964)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9121 #382191
analogous
#917021 #7A9121 #429121
triadic
#7A9121 #217A91 #91217A
tetradic
#7A9121 #219170 #382191 #912142
square
#7A9121 #219170 #382191 #912142
split-complementary
#7A9121 #214291 #702191
monochromatic
#262D0A #505F16 #7A9121 #A4C32C #BDD854

Accessibility & contrast

On white

3.56
#7A9121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#7A9121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9121
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9121#FFFFFF#000000##000000
##7A91211.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8805
Deuteranopia (green-blind)
#97882B
Tritanopia (blue-blind)
#81897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7a9121;
/* rgb */ color: rgb(122, 145, 33);
/* oklch */ color: oklch(61.8% 0.135 120.9);
Tailwind
colors: {
  custom: {
    50: '#a4b166',
    500: '#7a9121',
    950: '#000000',
  },
}
SCSS
$custom: #7a9121;
$custom-light: #a4b166;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9121",
  "rgb": {
    "r": 122,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 72.321,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.13525,
    "h": 120.9
  },
  "luminance": 0.24498
}

Semantic roles & 50–950 ramp

primary
#7A9121
secondary
#6852BC
accent
#42E664
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A9121

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

Preview Lab → · Contrast checker → · Palette generator →

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