#7B941B#7B941B

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

Color values

HEX#7B941B
RGBrgb(123, 148, 27)
HSLhsl(72, 69%, 34%)
HSVhsv(72, 82%, 58%)
CMYKcmyk(16.9%, 0%, 81.8%, 42%)
CIE-LABlab(57.53, -24.81, 55.38)
CIE-LCHlch(57.53, 60.68, 114.13°)
OKLaboklab(62.54% -0.0736 0.1209)
OKLCHoklch(62.54% 0.142 121.4)
XYZxyz(18.9565, 25.4699, 4.9542)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B941B #341B94
analogous
#94711B #7B941B #3E941B
triadic
#7B941B #1B7B94 #941B7B
tetradic
#7B941B #1B9471 #341B94 #941B3E
square
#7B941B #1B9471 #341B94 #941B3E
split-complementary
#7B941B #1B3E94 #711B94
monochromatic
#252C08 #506012 #7B941B #A6C824 #C0DE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B941B#FFFFFF#000000##000000
##7B941B1.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)
#9A8A28
Tritanopia (blue-blind)
#828C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b941b;
/* rgb */ color: rgb(123, 148, 27);
/* oklch */ color: oklch(62.5% 0.142 121.4);
Tailwind
colors: {
  custom: {
    50: '#a5b364',
    500: '#7b941b',
    950: '#000000',
  },
}
SCSS
$custom: #7b941b;
$custom-light: #a5b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7b941b",
  "rgb": {
    "r": 123,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 72.397,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62545,
    "c": 0.14151,
    "h": 121.4
  },
  "luminance": 0.2547
}

Semantic roles & 50–950 ramp

primary
#7B941B
secondary
#634BC0
accent
#3CEC60
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B941B

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

Preview Lab → · Contrast checker → · Palette generator →

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