#7B8A30#7B8A30

#7B8A30 is a mid, moderate yellow-green. Relative luminance 0.226; OKLCH L 60.3% C 0.116 H 118.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7B8A30
RGBrgb(123, 138, 48)
HSLhsl(70, 48%, 36%)
HSVhsv(70, 65%, 54%)
CMYKcmyk(10.9%, 0%, 65.2%, 45.9%)
CIE-LABlab(54.66, -18.55, 44.80)
CIE-LCHlch(54.66, 48.49, 112.50°)
OKLaboklab(60.28% -0.0544 0.1021)
OKLCHoklch(60.28% 0.116 118.1)
XYZxyz(17.7907, 22.6015, 6.2210)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A30 #3F308A
analogous
#8A6C30 #7B8A30 #4E8A30
triadic
#7B8A30 #307B8A #8A307B
tetradic
#7B8A30 #308A6C #3F308A #8A304E
square
#7B8A30 #308A6C #3F308A #8A304E
split-complementary
#7B8A30 #304E8A #6C308A
monochromatic
#2A2F10 #535D20 #7B8A30 #A3B740 #BBCB69

Accessibility & contrast

On white

3.80
#7B8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7B8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A30
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A30#FFFFFF#000000##000000
##7B8A301.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#828377
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b8a30;
/* rgb */ color: rgb(123, 138, 48);
/* oklch */ color: oklch(60.3% 0.116 118.1);
Tailwind
colors: {
  custom: {
    50: '#a4ac6d',
    500: '#7b8a30',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a30;
$custom-light: #a4ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a30",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 70,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60275,
    "c": 0.11569,
    "h": 118.1
  },
  "luminance": 0.22601
}

Semantic roles & 50–950 ramp

primary
#7B8A30
secondary
#7164B2
accent
#50D867
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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