#7A9331#7A9331

#7A9331 is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.4% C 0.127 H 122.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7A9331
RGBrgb(122, 147, 49)
HSLhsl(75, 50%, 38%)
HSVhsv(75, 67%, 58%)
CMYKcmyk(17%, 0%, 66.7%, 42.4%)
CIE-LABlab(57.30, -23.50, 47.13)
CIE-LCHlch(57.30, 52.66, 116.51°)
OKLaboklab(62.38% -0.068 0.1072)
OKLCHoklch(62.38% 0.127 122.4)
XYZxyz(19.0143, 25.2267, 6.7727)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9331 #4A3193
analogous
#937B31 #7A9331 #499331
triadic
#7A9331 #317A93 #93317A
tetradic
#7A9331 #31937B #4A3193 #933149
square
#7A9331 #31937B #4A3193 #933149
split-complementary
#7A9331 #314993 #7B3193
monochromatic
#2E3712 #546522 #7A9331 #A0C041 #B7CF6F

Accessibility & contrast

On white

3.47
#7A9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#7A9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9331
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9331#FFFFFF#000000##000000
##7A93311.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A24
Deuteranopia (green-blind)
#988A38
Tritanopia (blue-blind)
#808C7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7a9331;
/* rgb */ color: rgb(122, 147, 49);
/* oklch */ color: oklch(62.4% 0.127 122.4);
Tailwind
colors: {
  custom: {
    50: '#a3b26e',
    500: '#7a9331',
    950: '#000000',
  },
}
SCSS
$custom: #7a9331;
$custom-light: #a3b26e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9331",
  "rgb": {
    "r": 122,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 75.306,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62381,
    "c": 0.12694,
    "h": 122.4
  },
  "luminance": 0.25227
}

Semantic roles & 50–950 ramp

primary
#7A9331
secondary
#7D69B7
accent
#4EDA72
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A9331

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

Preview Lab → · Contrast checker → · Palette generator →

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