#7B941A#7B941A

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

Color values

HEX#7B941A
RGBrgb(123, 148, 26)
HSLhsl(72, 70%, 34%)
HSVhsv(72, 82%, 58%)
CMYKcmyk(16.9%, 0%, 82.4%, 42%)
CIE-LABlab(57.53, -24.85, 55.66)
CIE-LCHlch(57.53, 60.95, 114.06°)
OKLaboklab(62.54% -0.0738 0.1213)
OKLCHoklch(62.54% 0.142 121.3)
XYZxyz(18.9451, 25.4653, 4.8943)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B941A #331A94
analogous
#94701A #7B941A #3E941A
triadic
#7B941A #1A7B94 #941A7B
tetradic
#7B941A #1A9470 #331A94 #941A3E
square
#7B941A #1A9470 #331A94 #941A3E
split-complementary
#7B941A #1A3E94 #701A94
monochromatic
#242C08 #506011 #7B941A #A6C823 #C0DF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B941A#FFFFFF#000000##000000
##7B941A1.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)
#9E8B00
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#828C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b941a;
/* rgb */ color: rgb(123, 148, 26);
/* oklch */ color: oklch(62.5% 0.142 121.3);
Tailwind
colors: {
  custom: {
    50: '#a5b363',
    500: '#7b941a',
    950: '#000000',
  },
}
SCSS
$custom: #7b941a;
$custom-light: #a5b363;
$custom-dark: #000000;
JSON
{
  "hex": "#7b941a",
  "rgb": {
    "r": 123,
    "g": 148,
    "b": 26
  },
  "hsl": {
    "h": 72.295,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.6254,
    "c": 0.14197,
    "h": 121.3
  },
  "luminance": 0.25465
}

Semantic roles & 50–950 ramp

primary
#7B941A
secondary
#6249C1
accent
#3BED5F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B941A

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

Preview Lab → · Contrast checker → · Palette generator →

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