#7F9237#7F9237

#7F9237 is a light, moderate yellow-green. Relative luminance 0.253; OKLCH L 62.6% C 0.119 H 119.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7F9237
RGBrgb(127, 146, 55)
HSLhsl(73, 45%, 39%)
HSVhsv(73, 62%, 57%)
CMYKcmyk(13%, 0%, 62.3%, 42.7%)
CIE-LABlab(57.41, -20.42, 44.71)
CIE-LCHlch(57.41, 49.15, 114.55°)
OKLaboklab(62.58% -0.0592 0.1028)
OKLCHoklch(62.58% 0.119 119.9)
XYZxyz(19.7211, 25.3457, 7.4670)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9237 #4A3792
analogous
#927837 #7F9237 #529237
triadic
#7F9237 #377F92 #92377F
tetradic
#7F9237 #379278 #4A3792 #923752
square
#7F9237 #379278 #4A3792 #923752
split-complementary
#7F9237 #375292 #783792
monochromatic
#323916 #586626 #7F9237 #A4BB4B #BACC77

Accessibility & contrast

On white

3.46
#7F9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#7F9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9237
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9237#FFFFFF#000000##000000
##7F92371.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2C
Deuteranopia (green-blind)
#998A3D
Tritanopia (blue-blind)
#868B7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f9237;
/* rgb */ color: rgb(127, 146, 55);
/* oklch */ color: oklch(62.6% 0.119 119.9);
Tailwind
colors: {
  custom: {
    50: '#a6b272',
    500: '#7f9237',
    950: '#000000',
  },
}
SCSS
$custom: #7f9237;
$custom-light: #a6b272;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9237",
  "rgb": {
    "r": 127,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 72.527,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62582,
    "c": 0.1186,
    "h": 119.9
  },
  "luminance": 0.25346
}

Semantic roles & 50–950 ramp

primary
#7F9237
secondary
#7E70B5
accent
#53D56E
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #7F9237

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

Preview Lab → · Contrast checker → · Palette generator →

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