#7A912E#7A912E

#7A912E is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.9% C 0.127 H 121.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7A912E
RGBrgb(122, 145, 46)
HSLhsl(74, 52%, 37%)
HSVhsv(74, 68%, 57%)
CMYKcmyk(15.9%, 0%, 68.3%, 43.1%)
CIE-LABlab(56.67, -22.71, 47.74)
CIE-LCHlch(56.67, 52.87, 115.44°)
OKLaboklab(61.87% -0.0661 0.108)
OKLCHoklch(61.87% 0.127 121.5)
XYZxyz(18.6448, 24.5856, 6.3475)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A912E #452E91
analogous
#91762E #7A912E #49912E
triadic
#7A912E #2E7A91 #912E7A
tetradic
#7A912E #2E9176 #452E91 #912E49
square
#7A912E #2E9176 #452E91 #912E49
split-complementary
#7A912E #2E4991 #762E91
monochromatic
#2C3411 #53631F #7A912E #A1BF3D #B8D06A

Accessibility & contrast

On white

3.55
#7A912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#7A912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A912E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A912E#FFFFFF#000000##000000
##7A912E1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8820
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#818A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7a912e;
/* rgb */ color: rgb(122, 145, 46);
/* oklch */ color: oklch(61.9% 0.127 121.5);
Tailwind
colors: {
  custom: {
    50: '#a3b16c',
    500: '#7a912e',
    950: '#000000',
  },
}
SCSS
$custom: #7a912e;
$custom-light: #a3b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a912e",
  "rgb": {
    "r": 122,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 73.939,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61869,
    "c": 0.12665,
    "h": 121.5
  },
  "luminance": 0.24586
}

Semantic roles & 50–950 ramp

primary
#7A912E
secondary
#7764B7
accent
#4DDB6E
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A912E

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

Preview Lab → · Contrast checker → · Palette generator →

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