#7B901A#7B901A

#7B901A is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.6% C 0.137 H 119.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7B901A
RGBrgb(123, 144, 26)
HSLhsl(71, 69%, 33%)
HSVhsv(71, 82%, 56%)
CMYKcmyk(14.6%, 0%, 81.9%, 43.5%)
CIE-LABlab(56.32, -22.85, 54.59)
CIE-LCHlch(56.32, 59.18, 112.72°)
OKLaboklab(61.57% -0.0683 0.119)
OKLCHoklch(61.57% 0.137 119.9)
XYZxyz(18.3285, 24.2321, 4.6888)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B901A #2F1A90
analogous
#906A1A #7B901A #40901A
triadic
#7B901A #1A7B90 #901A7B
tetradic
#7B901A #1A906A #2F1A90 #901A40
square
#7B901A #1A906A #2F1A90 #901A40
split-complementary
#7B901A #1A4090 #6A1A90
monochromatic
#222807 #4F5C11 #7B901A #A7C423 #C3DE47

Accessibility & contrast

On white

3.59
#7B901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#7B901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B901A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B901A#FFFFFF#000000##000000
##7B901A1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#83887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b901a;
/* rgb */ color: rgb(123, 144, 26);
/* oklch */ color: oklch(61.6% 0.137 119.9);
Tailwind
colors: {
  custom: {
    50: '#a5b063',
    500: '#7b901a',
    950: '#000000',
  },
}
SCSS
$custom: #7b901a;
$custom-light: #a5b063;
$custom-dark: #000000;
JSON
{
  "hex": "#7b901a",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 70.678,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.13722,
    "h": 119.9
  },
  "luminance": 0.24232
}

Semantic roles & 50–950 ramp

primary
#7B901A
secondary
#5C47BF
accent
#3CEC5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B901A

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

Preview Lab → · Contrast checker → · Palette generator →

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