#7D9137#7D9137

#7D9137 is a light, moderate yellow-green. Relative luminance 0.249; OKLCH L 62.2% C 0.118 H 120.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7D9137
RGBrgb(125, 145, 55)
HSLhsl(73, 45%, 39%)
HSVhsv(73, 62%, 57%)
CMYKcmyk(13.8%, 0%, 62.1%, 43.1%)
CIE-LABlab(56.96, -20.76, 44.18)
CIE-LCHlch(56.96, 48.81, 115.17°)
OKLaboklab(62.19% -0.06 0.1017)
OKLCHoklch(62.19% 0.118 120.5)
XYZxyz(19.2727, 24.8867, 7.4020)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9137 #4B3791
analogous
#917837 #7D9137 #509137
triadic
#7D9137 #377D91 #91377D
tetradic
#7D9137 #379178 #4B3791 #913750
square
#7D9137 #379178 #4B3791 #913750
split-complementary
#7D9137 #375091 #783791
monochromatic
#313815 #576526 #7D9137 #A2BB4B #B9CB77

Accessibility & contrast

On white

3.51
#7D9137 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#7D9137 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9137
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9137#FFFFFF#000000##000000
##7D91371.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892D
Deuteranopia (green-blind)
#97893D
Tritanopia (blue-blind)
#848A7E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7d9137;
/* rgb */ color: rgb(125, 145, 55);
/* oklch */ color: oklch(62.2% 0.118 120.5);
Tailwind
colors: {
  custom: {
    50: '#a5b172',
    500: '#7d9137',
    950: '#000000',
  },
}
SCSS
$custom: #7d9137;
$custom-light: #a5b172;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9137",
  "rgb": {
    "r": 125,
    "g": 145,
    "b": 55
  },
  "hsl": {
    "h": 73.333,
    "s": 45,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62186,
    "c": 0.11808,
    "h": 120.5
  },
  "luminance": 0.24887
}

Semantic roles & 50–950 ramp

primary
#7D9137
secondary
#7F70B4
accent
#53D570
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7D9137

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

Preview Lab → · Contrast checker → · Palette generator →

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