#7A9237#7A9237

#7A9237 is a light, vivid yellow-green. Relative luminance 0.250; OKLCH L 62.2% C 0.121 H 122.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7A9237
RGBrgb(122, 146, 55)
HSLhsl(76, 45%, 39%)
HSVhsv(76, 62%, 57%)
CMYKcmyk(16.4%, 0%, 62.3%, 42.7%)
CIE-LABlab(57.05, -22.53, 44.20)
CIE-LCHlch(57.05, 49.62, 117.01°)
OKLaboklab(62.2% -0.0648 0.1018)
OKLCHoklch(62.2% 0.121 122.5)
XYZxyz(18.9947, 24.9711, 7.4329)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9237 #4F3792
analogous
#927D37 #7A9237 #4D9237
triadic
#7A9237 #377A92 #92377A
tetradic
#7A9237 #37927D #4F3792 #92374D
square
#7A9237 #37927D #4F3792 #92374D
split-complementary
#7A9237 #374D92 #7D3792
monochromatic
#303916 #556626 #7A9237 #9EBB4B #B6CC77

Accessibility & contrast

On white

3.50
#7A9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#7A9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9237
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9237#FFFFFF#000000##000000
##7A92371.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892C
Deuteranopia (green-blind)
#97893D
Tritanopia (blue-blind)
#808B7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7a9237;
/* rgb */ color: rgb(122, 146, 55);
/* oklch */ color: oklch(62.2% 0.121 122.5);
Tailwind
colors: {
  custom: {
    50: '#a3b272',
    500: '#7a9237',
    950: '#000000',
  },
}
SCSS
$custom: #7a9237;
$custom-light: #a3b272;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9237",
  "rgb": {
    "r": 122,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 75.824,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62198,
    "c": 0.12066,
    "h": 122.5
  },
  "luminance": 0.24971
}

Semantic roles & 50–950 ramp

primary
#7A9237
secondary
#8270B5
accent
#53D575
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7A9237

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

Preview Lab → · Contrast checker → · Palette generator →

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