#7B941F#7B941F

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

Color values

HEX#7B941F
RGBrgb(123, 148, 31)
HSLhsl(73, 65%, 35%)
HSVhsv(73, 79%, 58%)
CMYKcmyk(16.9%, 0%, 79.1%, 42%)
CIE-LABlab(57.55, -24.64, 54.18)
CIE-LCHlch(57.55, 59.52, 114.46°)
OKLaboklab(62.57% -0.0729 0.119)
OKLCHoklch(62.57% 0.14 121.5)
XYZxyz(19.0059, 25.4897, 5.2148)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B941F #381F94
analogous
#94731F #7B941F #40941F
triadic
#7B941F #1F7B94 #941F7B
tetradic
#7B941F #1F9473 #381F94 #941F40
square
#7B941F #1F9473 #381F94 #941F40
split-complementary
#7B941F #1F4094 #731F94
monochromatic
#272F0A #516114 #7B941F #A5C72A #BEDB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B941F#FFFFFF#000000##000000
##7B941F1.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: #7b941f;
/* rgb */ color: rgb(123, 148, 31);
/* oklch */ color: oklch(62.6% 0.140 121.5);
Tailwind
colors: {
  custom: {
    50: '#a5b365',
    500: '#7b941f',
    950: '#000000',
  },
}
SCSS
$custom: #7b941f;
$custom-light: #a5b365;
$custom-dark: #000000;
JSON
{
  "hex": "#7b941f",
  "rgb": {
    "r": 123,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 72.821,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62566,
    "c": 0.13954,
    "h": 121.5
  },
  "luminance": 0.2549
}

Semantic roles & 50–950 ramp

primary
#7B941F
secondary
#6851BE
accent
#3FE864
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B941F

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

Preview Lab → · Contrast checker → · Palette generator →

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