#7F992C#7F992C

#7F992C is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.2% C 0.136 H 122.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7F992C
RGBrgb(127, 153, 44)
HSLhsl(74, 55%, 39%)
HSVhsv(74, 71%, 60%)
CMYKcmyk(17%, 0%, 71.2%, 40%)
CIE-LABlab(59.41, -24.72, 51.45)
CIE-LCHlch(59.41, 57.09, 115.66°)
OKLaboklab(64.17% -0.0722 0.1154)
OKLCHoklch(64.17% 0.136 122)
XYZxyz(20.5985, 27.4763, 6.6007)
Luminance0.2748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F992C #462C99
analogous
#997C2C #7F992C #48992C
triadic
#7F992C #2C7F99 #992C7F
tetradic
#7F992C #2C997C #462C99 #992C48
square
#7F992C #2C997C #462C99 #992C48
split-complementary
#7F992C #2C4899 #7C2C99
monochromatic
#303A11 #58691E #7F992C #A6C73B #BBD46B

Accessibility & contrast

On white

3.23
#7F992C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#7F992C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F992C
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F992C#FFFFFF#000000##000000
##7F992C1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2901A
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#869184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f992c;
/* rgb */ color: rgb(127, 153, 44);
/* oklch */ color: oklch(64.2% 0.136 122.0);
Tailwind
colors: {
  custom: {
    50: '#a7b76c',
    500: '#7f992c',
    950: '#000000',
  },
}
SCSS
$custom: #7f992c;
$custom-light: #a7b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f992c",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 44
  },
  "hsl": {
    "h": 74.312,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64167,
    "c": 0.1361,
    "h": 122
  },
  "luminance": 0.27476
}

Semantic roles & 50–950 ramp

primary
#7F992C
secondary
#7A66BB
accent
#49DF6D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F992C

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

Preview Lab → · Contrast checker → · Palette generator →

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