#7F9331#7F9331

#7F9331 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.8% C 0.125 H 120.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7F9331
RGBrgb(127, 147, 49)
HSLhsl(72, 50%, 38%)
HSVhsv(72, 67%, 58%)
CMYKcmyk(13.6%, 0%, 66.7%, 42.4%)
CIE-LABlab(57.66, -21.38, 47.62)
CIE-LCHlch(57.66, 52.20, 114.18°)
OKLaboklab(62.76% -0.0625 0.1081)
OKLCHoklch(62.76% 0.125 120)
XYZxyz(19.7408, 25.6013, 6.8067)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9331 #453193
analogous
#937631 #7F9331 #4E9331
triadic
#7F9331 #317F93 #93317F
tetradic
#7F9331 #319376 #453193 #93314E
square
#7F9331 #319376 #453193 #93314E
split-complementary
#7F9331 #314E93 #763193
monochromatic
#303712 #576522 #7F9331 #A6C041 #BCCF6F

Accessibility & contrast

On white

3.43
#7F9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7F9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9331
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9331#FFFFFF#000000##000000
##7F93311.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B24
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#868B7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f9331;
/* rgb */ color: rgb(127, 147, 49);
/* oklch */ color: oklch(62.8% 0.125 120.0);
Tailwind
colors: {
  custom: {
    50: '#a7b26e',
    500: '#7f9331',
    950: '#000000',
  },
}
SCSS
$custom: #7f9331;
$custom-light: #a7b26e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9331",
  "rgb": {
    "r": 127,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 72.245,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62764,
    "c": 0.12484,
    "h": 120
  },
  "luminance": 0.25601
}

Semantic roles & 50–950 ramp

primary
#7F9331
secondary
#7969B7
accent
#4EDA6B
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9331

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

Preview Lab → · Contrast checker → · Palette generator →

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