#7A8A33#7A8A33

#7A8A33 is a mid, moderate yellow-green. Relative luminance 0.226; OKLCH L 60.2% C 0.114 H 118.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7A8A33
RGBrgb(122, 138, 51)
HSLhsl(71, 46%, 37%)
HSVhsv(71, 63%, 54%)
CMYKcmyk(11.6%, 0%, 63%, 45.9%)
CIE-LABlab(54.61, -18.76, 43.37)
CIE-LCHlch(54.61, 47.25, 113.39°)
OKLaboklab(60.22% -0.0546 0.0995)
OKLCHoklch(60.22% 0.114 118.8)
XYZxyz(17.7123, 22.5537, 6.5515)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A33 #43338A
analogous
#8A6E33 #7A8A33 #4F8A33
triadic
#7A8A33 #337A8A #8A337A
tetradic
#7A8A33 #338A6E #43338A #8A334F
square
#7A8A33 #338A6E #43338A #8A334F
split-complementary
#7A8A33 #334F8A #6E338A
monochromatic
#2B3112 #525D22 #7A8A33 #A2B744 #B9C96E

Accessibility & contrast

On white

3.81
#7A8A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7A8A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A33
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A33#FFFFFF#000000##000000
##7A8A331.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938329
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#818378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a8a33;
/* rgb */ color: rgb(122, 138, 51);
/* oklch */ color: oklch(60.2% 0.114 118.8);
Tailwind
colors: {
  custom: {
    50: '#a3ac6f',
    500: '#7a8a33',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a33;
$custom-light: #a3ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a33",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 71.034,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60225,
    "c": 0.11352,
    "h": 118.8
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

primary
#7A8A33
secondary
#7567B1
accent
#52D66A
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A8A33

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

Preview Lab → · Contrast checker → · Palette generator →

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