#7C9250#7C9250

#7C9250 is a light, moderate yellow-green. Relative luminance 0.254; OKLCH L 62.7% C 0.095 H 124.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7C9250
RGBrgb(124, 146, 80)
HSLhsl(80, 29%, 44%)
HSVhsv(80, 45%, 57%)
CMYKcmyk(15.1%, 0%, 45.2%, 42.7%)
CIE-LABlab(57.48, -19.15, 32.33)
CIE-LCHlch(57.48, 37.57, 120.65°)
OKLaboklab(62.68% -0.0531 0.0782)
OKLCHoklch(62.68% 0.095 124.2)
XYZxyz(20.0390, 25.4219, 11.4391)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9250 #665092
analogous
#928750 #7C9250 #5B9250
triadic
#7C9250 #507C92 #92507C
tetradic
#7C9250 #509287 #665092 #92505B
square
#7C9250 #509287 #665092 #92505B
split-complementary
#7C9250 #505B92 #875092
monochromatic
#394325 #5A6A3A #7C9250 #9AB06F #B6C697

Accessibility & contrast

On white

3.45
#7C9250 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7C9250 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9250
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9250#FFFFFF#000000##000000
##7C92501.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B4B
Deuteranopia (green-blind)
#968A54
Tritanopia (blue-blind)
#808C82
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c9250;
/* rgb */ color: rgb(124, 146, 80);
/* oklch */ color: oklch(62.7% 0.095 124.2);
Tailwind
colors: {
  custom: {
    50: '#a3b282',
    500: '#7c9250',
    950: '#000000',
  },
}
SCSS
$custom: #7c9250;
$custom-light: #a3b282;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9250",
  "rgb": {
    "r": 124,
    "g": 146,
    "b": 80
  },
  "hsl": {
    "h": 80,
    "s": 29.204,
    "l": 44.314
  },
  "oklch": {
    "l": 0.62681,
    "c": 0.09457,
    "h": 124.2
  },
  "luminance": 0.25422
}

Semantic roles & 50–950 ramp

primary
#7C9250
secondary
#988BB3
accent
#62C583
background
#FAFAF8
surface
#F4F5EF
border
#CECFCA
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C9250

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

Preview Lab → · Contrast checker → · Palette generator →

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