#7F931E#7F931E

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

Color values

HEX#7F931E
RGBrgb(127, 147, 30)
HSLhsl(70, 66%, 35%)
HSVhsv(70, 80%, 58%)
CMYKcmyk(13.6%, 0%, 79.6%, 42.4%)
CIE-LABlab(57.53, -22.46, 54.59)
CIE-LCHlch(57.53, 59.03, 112.36°)
OKLaboklab(62.63% -0.0672 0.1196)
OKLCHoklch(62.63% 0.137 119.3)
XYZxyz(19.4209, 25.4733, 5.1218)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F931E #321E93
analogous
#936C1E #7F931E #45931E
triadic
#7F931E #1E7F93 #931E7F
tetradic
#7F931E #1E936C #321E93 #931E45
square
#7F931E #1E936C #321E93 #931E45
split-complementary
#7F931E #1E4593 #6C1E93
monochromatic
#272D09 #536014 #7F931E #ABC628 #C4DB50

Accessibility & contrast

On white

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

On black

6.09
#7F931E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F931E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F931E#FFFFFF#000000##000000
##7F931E1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#878B7D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7f931e;
/* rgb */ color: rgb(127, 147, 30);
/* oklch */ color: oklch(62.6% 0.137 119.3);
Tailwind
colors: {
  custom: {
    50: '#a8b265',
    500: '#7f931e',
    950: '#000000',
  },
}
SCSS
$custom: #7f931e;
$custom-light: #a8b265;
$custom-dark: #000000;
JSON
{
  "hex": "#7f931e",
  "rgb": {
    "r": 127,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 70.256,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62625,
    "c": 0.13715,
    "h": 119.3
  },
  "luminance": 0.25473
}

Semantic roles & 50–950 ramp

primary
#7F931E
secondary
#624FBE
accent
#3FE95C
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F931E

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

Preview Lab → · Contrast checker → · Palette generator →

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