#7B901E#7B901E

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

Color values

HEX#7B901E
RGBrgb(123, 144, 30)
HSLhsl(71, 66%, 34%)
HSVhsv(71, 79%, 56%)
CMYKcmyk(14.6%, 0%, 79.2%, 43.5%)
CIE-LABlab(56.34, -22.68, 53.39)
CIE-LCHlch(56.34, 58.00, 113.02°)
OKLaboklab(61.59% -0.0676 0.1172)
OKLCHoklch(61.59% 0.135 120)
XYZxyz(18.3764, 24.2513, 4.9409)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B901E #331E90
analogous
#906C1E #7B901E #42901E
triadic
#7B901E #1E7B90 #901E7B
tetradic
#7B901E #1E906C #331E90 #901E42
square
#7B901E #1E906C #331E90 #901E42
split-complementary
#7B901E #1E4290 #6C1E90
monochromatic
#242B09 #505D13 #7B901E #A6C329 #C0DA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B901E#FFFFFF#000000##000000
##7B901E1.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)
#978729
Tritanopia (blue-blind)
#82887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b901e;
/* rgb */ color: rgb(123, 144, 30);
/* oklch */ color: oklch(61.6% 0.135 120.0);
Tailwind
colors: {
  custom: {
    50: '#a5b064',
    500: '#7b901e',
    950: '#000000',
  },
}
SCSS
$custom: #7b901e;
$custom-light: #a5b064;
$custom-dark: #000000;
JSON
{
  "hex": "#7b901e",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 71.053,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.13524,
    "h": 120
  },
  "luminance": 0.24251
}

Semantic roles & 50–950 ramp

primary
#7B901E
secondary
#624DBD
accent
#3FE85E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B901E

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

Preview Lab → · Contrast checker → · Palette generator →

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