#7B902F#7B902F

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

Color values

HEX#7B902F
RGBrgb(123, 144, 47)
HSLhsl(73, 51%, 37%)
HSVhsv(73, 67%, 56%)
CMYKcmyk(14.6%, 0%, 67.4%, 43.5%)
CIE-LABlab(56.45, -21.71, 47.12)
CIE-LCHlch(56.45, 51.88, 114.74°)
OKLaboklab(61.71% -0.0633 0.1068)
OKLCHoklch(61.71% 0.124 120.7)
XYZxyz(18.6550, 24.3627, 6.4085)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B902F #442F90
analogous
#90752F #7B902F #4A902F
triadic
#7B902F #2F7B90 #902F7B
tetradic
#7B902F #2F9075 #442F90 #902F4A
square
#7B902F #2F9075 #442F90 #902F4A
split-complementary
#7B902F #2F4A90 #752F90
monochromatic
#2C3411 #546220 #7B902F #A2BE3E #B9CF6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B902F#FFFFFF#000000##000000
##7B902F1.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)
#998822
Deuteranopia (green-blind)
#968836
Tritanopia (blue-blind)
#82897C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b902f;
/* rgb */ color: rgb(123, 144, 47);
/* oklch */ color: oklch(61.7% 0.124 120.7);
Tailwind
colors: {
  custom: {
    50: '#a4b06d',
    500: '#7b902f',
    950: '#000000',
  },
}
SCSS
$custom: #7b902f;
$custom-light: #a4b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b902f",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 72.99,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.12418,
    "h": 120.7
  },
  "luminance": 0.24363
}

Semantic roles & 50–950 ramp

primary
#7B902F
secondary
#7765B6
accent
#4EDA6C
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B902F

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

Preview Lab → · Contrast checker → · Palette generator →

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