#7A992C#7A992C

#7A992C is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.8% C 0.138 H 124.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7A992C
RGBrgb(122, 153, 44)
HSLhsl(77, 55%, 39%)
HSVhsv(77, 71%, 60%)
CMYKcmyk(20.3%, 0%, 71.2%, 40%)
CIE-LABlab(59.07, -26.81, 51.00)
CIE-LCHlch(59.07, 57.61, 117.73°)
OKLaboklab(63.8% -0.0776 0.1145)
OKLCHoklch(63.8% 0.138 124.1)
XYZxyz(19.8721, 27.1017, 6.5666)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A992C #4B2C99
analogous
#99812C #7A992C #43992C
triadic
#7A992C #2C7A99 #992C7A
tetradic
#7A992C #2C9981 #4B2C99 #992C43
square
#7A992C #2C9981 #4B2C99 #992C43
split-complementary
#7A992C #2C4399 #812C99
monochromatic
#2E3A11 #54691E #7A992C #9FC73B #B6D46B

Accessibility & contrast

On white

3.27
#7A992C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#7A992C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A992C
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A992C#FFFFFF#000000##000000
##7A992C1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F1A
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#809183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7a992c;
/* rgb */ color: rgb(122, 153, 44);
/* oklch */ color: oklch(63.8% 0.138 124.1);
Tailwind
colors: {
  custom: {
    50: '#a4b76c',
    500: '#7a992c',
    950: '#000000',
  },
}
SCSS
$custom: #7a992c;
$custom-light: #a4b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a992c",
  "rgb": {
    "r": 122,
    "g": 153,
    "b": 44
  },
  "hsl": {
    "h": 77.064,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.638,
    "c": 0.13837,
    "h": 124.1
  },
  "luminance": 0.27102
}

Semantic roles & 50–950 ramp

primary
#7A992C
secondary
#7E66BB
accent
#49DF74
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A992C

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

Preview Lab → · Contrast checker → · Palette generator →

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