#7B9028#7B9028

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

Color values

HEX#7B9028
RGBrgb(123, 144, 40)
HSLhsl(72, 57%, 36%)
HSVhsv(72, 72%, 56%)
CMYKcmyk(14.6%, 0%, 72.2%, 43.5%)
CIE-LABlab(56.40, -22.16, 49.90)
CIE-LCHlch(56.40, 54.60, 113.95°)
OKLaboklab(61.65% -0.0653 0.1116)
OKLCHoklch(61.65% 0.129 120.3)
XYZxyz(18.5250, 24.3107, 5.7236)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9028 #3D2890
analogous
#907128 #7B9028 #479028
triadic
#7B9028 #287B90 #90287B
tetradic
#7B9028 #289071 #3D2890 #902847
square
#7B9028 #289071 #3D2890 #902847
split-complementary
#7B9028 #284790 #712890
monochromatic
#29300D #52601B #7B9028 #A4C035 #BCD360

Accessibility & contrast

On white

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

On black

5.86
#7B9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9028
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9028#FFFFFF#000000##000000
##7B90281.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998716
Deuteranopia (green-blind)
#978731
Tritanopia (blue-blind)
#82887C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b9028;
/* rgb */ color: rgb(123, 144, 40);
/* oklch */ color: oklch(61.7% 0.129 120.3);
Tailwind
colors: {
  custom: {
    50: '#a4b069',
    500: '#7b9028',
    950: '#000000',
  },
}
SCSS
$custom: #7b9028;
$custom-light: #a4b069;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9028",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 72.115,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61654,
    "c": 0.12924,
    "h": 120.3
  },
  "luminance": 0.24311
}

Semantic roles & 50–950 ramp

primary
#7B9028
secondary
#6E5CB8
accent
#48E067
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7B9028

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

Preview Lab → · Contrast checker → · Palette generator →

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