#7F9232#7F9232

#7F9232 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.5% C 0.123 H 119.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7F9232
RGBrgb(127, 146, 50)
HSLhsl(72, 49%, 38%)
HSVhsv(72, 66%, 57%)
CMYKcmyk(13%, 0%, 65.8%, 42.7%)
CIE-LABlab(57.37, -20.80, 46.88)
CIE-LCHlch(57.37, 51.29, 113.93°)
OKLaboklab(62.53% -0.0607 0.1067)
OKLCHoklch(62.53% 0.123 119.7)
XYZxyz(19.6073, 25.3002, 6.8675)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9232 #453292
analogous
#927532 #7F9232 #4F9232
triadic
#7F9232 #327F92 #92327F
tetradic
#7F9232 #329275 #453292 #92324F
square
#7F9232 #329275 #453292 #92324F
split-complementary
#7F9232 #324F92 #753292
monochromatic
#303713 #576422 #7F9232 #A6BF43 #BCCE70

Accessibility & contrast

On white

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

On black

6.06
#7F9232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9232
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9232#FFFFFF#000000##000000
##7F92321.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A25
Deuteranopia (green-blind)
#998A39
Tritanopia (blue-blind)
#868A7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f9232;
/* rgb */ color: rgb(127, 146, 50);
/* oklch */ color: oklch(62.5% 0.123 119.7);
Tailwind
colors: {
  custom: {
    50: '#a7b26f',
    500: '#7f9232',
    950: '#000000',
  },
}
SCSS
$custom: #7f9232;
$custom-light: #a7b26f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9232",
  "rgb": {
    "r": 127,
    "g": 146,
    "b": 50
  },
  "hsl": {
    "h": 71.875,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62533,
    "c": 0.12276,
    "h": 119.7
  },
  "luminance": 0.253
}

Semantic roles & 50–950 ramp

primary
#7F9232
secondary
#796AB6
accent
#4FD96A
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #7F9232

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

Preview Lab → · Contrast checker → · Palette generator →

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