#7A942E#7A942E

#7A942E is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.6% C 0.131 H 122.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7A942E
RGBrgb(122, 148, 46)
HSLhsl(75, 53%, 38%)
HSVhsv(75, 69%, 58%)
CMYKcmyk(17.6%, 0%, 68.9%, 42%)
CIE-LABlab(57.57, -24.21, 48.68)
CIE-LCHlch(57.57, 54.37, 116.45°)
OKLaboklab(62.6% -0.0703 0.11)
OKLCHoklch(62.6% 0.131 122.6)
XYZxyz(19.1093, 25.5146, 6.5023)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A942E #482E94
analogous
#947B2E #7A942E #47942E
triadic
#7A942E #2E7A94 #942E7A
tetradic
#7A942E #2E947B #482E94 #942E47
square
#7A942E #2E947B #482E94 #942E47
split-complementary
#7A942E #2E4794 #7B2E94
monochromatic
#2D3711 #54651F #7A942E #A0C33D #B7D16B

Accessibility & contrast

On white

3.44
#7A942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7A942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A942E
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A942E#FFFFFF#000000##000000
##7A942E1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1F
Deuteranopia (green-blind)
#998A36
Tritanopia (blue-blind)
#808D7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7a942e;
/* rgb */ color: rgb(122, 148, 46);
/* oklch */ color: oklch(62.6% 0.131 122.6);
Tailwind
colors: {
  custom: {
    50: '#a3b36d',
    500: '#7a942e',
    950: '#000000',
  },
}
SCSS
$custom: #7a942e;
$custom-light: #a3b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a942e",
  "rgb": {
    "r": 122,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 75.294,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62598,
    "c": 0.13052,
    "h": 122.6
  },
  "luminance": 0.25515
}

Semantic roles & 50–950 ramp

primary
#7A942E
secondary
#7B66B8
accent
#4CDC71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A942E

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

Preview Lab → · Contrast checker → · Palette generator →

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