#7B931E#7B931E

#7B931E is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.3% C 0.139 H 121.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7B931E
RGBrgb(123, 147, 30)
HSLhsl(72, 66%, 35%)
HSVhsv(72, 80%, 58%)
CMYKcmyk(16.3%, 0%, 79.6%, 42.4%)
CIE-LABlab(57.24, -24.19, 54.21)
CIE-LCHlch(57.24, 59.36, 114.04°)
OKLaboklab(62.32% -0.0717 0.1189)
OKLCHoklch(62.32% 0.139 121.1)
XYZxyz(18.8368, 25.1721, 5.0944)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B931E #361E93
analogous
#93711E #7B931E #40931E
triadic
#7B931E #1E7B93 #931E7B
tetradic
#7B931E #1E9371 #361E93 #931E40
square
#7B931E #1E9371 #361E93 #931E40
split-complementary
#7B931E #1E4093 #711E93
monochromatic
#262D09 #506014 #7B931E #A6C628 #BFDB50

Accessibility & contrast

On white

3.48
#7B931E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7B931E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B931E
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B931E#FFFFFF#000000##000000
##7B931E1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#828B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b931e;
/* rgb */ color: rgb(123, 147, 30);
/* oklch */ color: oklch(62.3% 0.139 121.1);
Tailwind
colors: {
  custom: {
    50: '#a5b265',
    500: '#7b931e',
    950: '#000000',
  },
}
SCSS
$custom: #7b931e;
$custom-light: #a5b265;
$custom-dark: #000000;
JSON
{
  "hex": "#7b931e",
  "rgb": {
    "r": 123,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 72.308,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62317,
    "c": 0.13885,
    "h": 121.1
  },
  "luminance": 0.25172
}

Semantic roles & 50–950 ramp

primary
#7B931E
secondary
#654FBE
accent
#3FE962
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B931E

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

Preview Lab → · Contrast checker → · Palette generator →

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