#7F9322#7F9322

#7F9322 is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.6% C 0.135 H 119.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7F9322
RGBrgb(127, 147, 34)
HSLhsl(71, 62%, 35%)
HSVhsv(71, 77%, 58%)
CMYKcmyk(13.6%, 0%, 76.9%, 42.4%)
CIE-LABlab(57.55, -22.28, 53.30)
CIE-LCHlch(57.55, 57.77, 112.68°)
OKLaboklab(62.65% -0.0664 0.1176)
OKLCHoklch(62.65% 0.135 119.4)
XYZxyz(19.4752, 25.4951, 5.4081)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9322 #362293
analogous
#936E22 #7F9322 #479322
triadic
#7F9322 #227F93 #93227F
tetradic
#7F9322 #22936E #362293 #932247
square
#7F9322 #22936E #362293 #932247
split-complementary
#7F9322 #224793 #6E2293
monochromatic
#29300B #546117 #7F9322 #AAC52D #C1D857

Accessibility & contrast

On white

3.44
#7F9322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7F9322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9322
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9322#FFFFFF#000000##000000
##7F93221.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A06
Deuteranopia (green-blind)
#9A8B2C
Tritanopia (blue-blind)
#878B7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f9322;
/* rgb */ color: rgb(127, 147, 34);
/* oklch */ color: oklch(62.6% 0.135 119.4);
Tailwind
colors: {
  custom: {
    50: '#a7b267',
    500: '#7f9322',
    950: '#000000',
  },
}
SCSS
$custom: #7f9322;
$custom-light: #a7b267;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9322",
  "rgb": {
    "r": 127,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 70.619,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62649,
    "c": 0.13498,
    "h": 119.4
  },
  "luminance": 0.25495
}

Semantic roles & 50–950 ramp

primary
#7F9322
secondary
#6755BC
accent
#42E55F
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9322

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

Preview Lab → · Contrast checker → · Palette generator →

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