#7B931A#7B931A

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

Color values

HEX#7B931A
RGBrgb(123, 147, 26)
HSLhsl(72, 70%, 34%)
HSVhsv(72, 82%, 58%)
CMYKcmyk(16.3%, 0%, 82.3%, 42.4%)
CIE-LABlab(57.22, -24.35, 55.39)
CIE-LCHlch(57.22, 60.51, 113.73°)
OKLaboklab(62.3% -0.0724 0.1207)
OKLCHoklch(62.3% 0.141 121)
XYZxyz(18.7889, 25.1530, 4.8423)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B931A #321A93
analogous
#936F1A #7B931A #3F931A
triadic
#7B931A #1A7B93 #931A7B
tetradic
#7B931A #1A936F #321A93 #931A3F
square
#7B931A #1A936F #321A93 #931A3F
split-complementary
#7B931A #1A3F93 #6F1A93
monochromatic
#242B08 #4F5F11 #7B931A #A7C723 #C1DF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B931A#FFFFFF#000000##000000
##7B931A1.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)
#9D8A00
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#828B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b931a;
/* rgb */ color: rgb(123, 147, 26);
/* oklch */ color: oklch(62.3% 0.141 121.0);
Tailwind
colors: {
  custom: {
    50: '#a5b263',
    500: '#7b931a',
    950: '#000000',
  },
}
SCSS
$custom: #7b931a;
$custom-light: #a5b263;
$custom-dark: #000000;
JSON
{
  "hex": "#7b931a",
  "rgb": {
    "r": 123,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 71.901,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62296,
    "c": 0.14078,
    "h": 121
  },
  "luminance": 0.25153
}

Semantic roles & 50–950 ramp

primary
#7B931A
secondary
#6048C0
accent
#3BED5E
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B931A

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

Preview Lab → · Contrast checker → · Palette generator →

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