#7B941E#7B941E

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

Color values

HEX#7B941E
RGBrgb(123, 148, 30)
HSLhsl(73, 66%, 35%)
HSVhsv(73, 80%, 58%)
CMYKcmyk(16.9%, 0%, 79.7%, 42%)
CIE-LABlab(57.54, -24.68, 54.49)
CIE-LCHlch(57.54, 59.82, 114.37°)
OKLaboklab(62.56% -0.0731 0.1195)
OKLCHoklch(62.56% 0.14 121.4)
XYZxyz(18.9930, 25.4845, 5.1465)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B941E #371E94
analogous
#94721E #7B941E #40941E
triadic
#7B941E #1E7B94 #941E7B
tetradic
#7B941E #1E9472 #371E94 #941E40
square
#7B941E #1E9472 #371E94 #941E40
split-complementary
#7B941E #1E4094 #721E94
monochromatic
#262E09 #516114 #7B941E #A5C728 #BEDC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B941E#FFFFFF#000000##000000
##7B941E1.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)
#9D8B00
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#828C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b941e;
/* rgb */ color: rgb(123, 148, 30);
/* oklch */ color: oklch(62.6% 0.140 121.4);
Tailwind
colors: {
  custom: {
    50: '#a5b365',
    500: '#7b941e',
    950: '#000000',
  },
}
SCSS
$custom: #7b941e;
$custom-light: #a5b365;
$custom-dark: #000000;
JSON
{
  "hex": "#7b941e",
  "rgb": {
    "r": 123,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 72.712,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6256,
    "c": 0.14006,
    "h": 121.4
  },
  "luminance": 0.25485
}

Semantic roles & 50–950 ramp

primary
#7B941E
secondary
#674FBF
accent
#3FE963
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B941E

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

Preview Lab → · Contrast checker → · Palette generator →

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