#7B941D#7B941D

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

Color values

HEX#7B941D
RGBrgb(123, 148, 29)
HSLhsl(73, 67%, 35%)
HSVhsv(73, 80%, 58%)
CMYKcmyk(16.9%, 0%, 80.4%, 42%)
CIE-LABlab(57.54, -24.73, 54.79)
CIE-LCHlch(57.54, 60.11, 114.29°)
OKLaboklab(62.56% -0.0733 0.12)
OKLCHoklch(62.56% 0.141 121.4)
XYZxyz(18.9804, 25.4795, 5.0803)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B941D #361D94
analogous
#94721D #7B941D #40941D
triadic
#7B941D #1D7B94 #941D7B
tetradic
#7B941D #1D9472 #361D94 #941D40
square
#7B941D #1D9472 #361D94 #941D40
split-complementary
#7B941D #1D4094 #721D94
monochromatic
#262E09 #506113 #7B941D #A6C727 #BFDC4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7b941d;
/* rgb */ color: rgb(123, 148, 29);
/* oklch */ color: oklch(62.6% 0.141 121.4);
Tailwind
colors: {
  custom: {
    50: '#a5b364',
    500: '#7b941d',
    950: '#000000',
  },
}
SCSS
$custom: #7b941d;
$custom-light: #a5b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7b941d",
  "rgb": {
    "r": 123,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 72.605,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.14056,
    "h": 121.4
  },
  "luminance": 0.25479
}

Semantic roles & 50–950 ramp

primary
#7B941D
secondary
#654EBF
accent
#3EEA62
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B941D

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

Preview Lab → · Contrast checker → · Palette generator →

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