#7B902E#7B902E

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

Color values

HEX#7B902E
RGBrgb(123, 144, 46)
HSLhsl(73, 52%, 37%)
HSVhsv(73, 68%, 56%)
CMYKcmyk(14.6%, 0%, 68.1%, 43.5%)
CIE-LABlab(56.44, -21.78, 47.53)
CIE-LCHlch(56.44, 52.28, 114.62°)
OKLaboklab(61.7% -0.0636 0.1075)
OKLCHoklch(61.7% 0.125 120.6)
XYZxyz(18.6351, 24.3548, 6.3035)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B902E #432E90
analogous
#90742E #7B902E #4A902E
triadic
#7B902E #2E7B90 #902E7B
tetradic
#7B902E #2E9074 #432E90 #902E4A
square
#7B902E #2E9074 #432E90 #902E4A
split-complementary
#7B902E #2E4A90 #742E90
monochromatic
#2C3310 #53621F #7B902E #A3BE3D #B9CF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B902E#FFFFFF#000000##000000
##7B902E1.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)
#998820
Deuteranopia (green-blind)
#968835
Tritanopia (blue-blind)
#82887C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b902e;
/* rgb */ color: rgb(123, 144, 46);
/* oklch */ color: oklch(61.7% 0.125 120.6);
Tailwind
colors: {
  custom: {
    50: '#a4b06c',
    500: '#7b902e',
    950: '#000000',
  },
}
SCSS
$custom: #7b902e;
$custom-light: #a4b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b902e",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 46
  },
  "hsl": {
    "h": 72.857,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61703,
    "c": 0.12494,
    "h": 120.6
  },
  "luminance": 0.24355
}

Semantic roles & 50–950 ramp

primary
#7B902E
secondary
#7564B6
accent
#4DDB6B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B902E

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

Preview Lab → · Contrast checker → · Palette generator →

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