#7B902A#7B902A

#7B902A is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.7% C 0.128 H 120.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7B902A
RGBrgb(123, 144, 42)
HSLhsl(72, 55%, 36%)
HSVhsv(72, 71%, 56%)
CMYKcmyk(14.6%, 0%, 70.8%, 43.5%)
CIE-LABlab(56.41, -22.04, 49.13)
CIE-LCHlch(56.41, 53.85, 114.16°)
OKLaboklab(61.67% -0.0647 0.1103)
OKLCHoklch(61.67% 0.128 120.4)
XYZxyz(18.5599, 24.3247, 5.9074)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B902A #3F2A90
analogous
#90722A #7B902A #48902A
triadic
#7B902A #2A7B90 #902A7B
tetradic
#7B902A #2A9072 #3F2A90 #902A48
square
#7B902A #2A9072 #3F2A90 #902A48
split-complementary
#7B902A #2A4890 #722A90
monochromatic
#2A310E #53611C #7B902A #A3BF38 #BBD163

Accessibility & contrast

On white

3.58
#7B902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7B902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B902A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B902A#FFFFFF#000000##000000
##7B902A1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881A
Deuteranopia (green-blind)
#978732
Tritanopia (blue-blind)
#82887C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b902a;
/* rgb */ color: rgb(123, 144, 42);
/* oklch */ color: oklch(61.7% 0.128 120.4);
Tailwind
colors: {
  custom: {
    50: '#a4b06a',
    500: '#7b902a',
    950: '#000000',
  },
}
SCSS
$custom: #7b902a;
$custom-light: #a4b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b902a",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 72.353,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6167,
    "c": 0.12787,
    "h": 120.4
  },
  "luminance": 0.24325
}

Semantic roles & 50–950 ramp

primary
#7B902A
secondary
#715EB7
accent
#4ADE68
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B902A

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

Preview Lab → · Contrast checker → · Palette generator →

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