#7C9237#7C9237

#7C9237 is a light, moderate yellow-green. Relative luminance 0.251; OKLCH L 62.4% C 0.120 H 121.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7C9237
RGBrgb(124, 146, 55)
HSLhsl(75, 45%, 39%)
HSVhsv(75, 62%, 57%)
CMYKcmyk(15.1%, 0%, 62.3%, 42.7%)
CIE-LABlab(57.19, -21.69, 44.40)
CIE-LCHlch(57.19, 49.42, 116.04°)
OKLaboklab(62.35% -0.0625 0.1022)
OKLCHoklch(62.35% 0.12 121.5)
XYZxyz(19.2809, 25.1187, 7.4463)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9237 #4D3792
analogous
#927B37 #7C9237 #4F9237
triadic
#7C9237 #377C92 #92377C
tetradic
#7C9237 #37927B #4D3792 #92374F
square
#7C9237 #37927B #4D3792 #92374F
split-complementary
#7C9237 #374F92 #7B3792
monochromatic
#303916 #566626 #7C9237 #A0BB4B #B8CC77

Accessibility & contrast

On white

3.49
#7C9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#7C9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9237
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9237#FFFFFF#000000##000000
##7C92371.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A2C
Deuteranopia (green-blind)
#98893D
Tritanopia (blue-blind)
#828B7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7c9237;
/* rgb */ color: rgb(124, 146, 55);
/* oklch */ color: oklch(62.4% 0.120 121.5);
Tailwind
colors: {
  custom: {
    50: '#a4b272',
    500: '#7c9237',
    950: '#000000',
  },
}
SCSS
$custom: #7c9237;
$custom-light: #a4b272;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9237",
  "rgb": {
    "r": 124,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 74.505,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6235,
    "c": 0.11982,
    "h": 121.5
  },
  "luminance": 0.25119
}

Semantic roles & 50–950 ramp

primary
#7C9237
secondary
#8170B5
accent
#53D572
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C9237

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

Preview Lab → · Contrast checker → · Palette generator →

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