#7B8A33#7B8A33

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

Color values

HEX#7B8A33
RGBrgb(123, 138, 51)
HSLhsl(70, 46%, 37%)
HSVhsv(70, 63%, 54%)
CMYKcmyk(10.9%, 0%, 63%, 45.9%)
CIE-LABlab(54.69, -18.32, 43.47)
CIE-LCHlch(54.69, 47.18, 112.86°)
OKLaboklab(60.31% -0.0535 0.0997)
OKLCHoklch(60.31% 0.113 118.2)
XYZxyz(17.8547, 22.6271, 6.5582)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A33 #42338A
analogous
#8A6E33 #7B8A33 #508A33
triadic
#7B8A33 #337B8A #8A337B
tetradic
#7B8A33 #338A6E #42338A #8A3350
square
#7B8A33 #338A6E #42338A #8A3350
split-complementary
#7B8A33 #33508A #6E338A
monochromatic
#2B3112 #535D22 #7B8A33 #A3B744 #BAC96E

Accessibility & contrast

On white

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

On black

5.53
#7B8A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A33
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A33#FFFFFF#000000##000000
##7B8A331.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938329
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#828378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b8a33;
/* rgb */ color: rgb(123, 138, 51);
/* oklch */ color: oklch(60.3% 0.113 118.2);
Tailwind
colors: {
  custom: {
    50: '#a3ac6f',
    500: '#7b8a33',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a33;
$custom-light: #a3ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a33",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 70.345,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60305,
    "c": 0.11315,
    "h": 118.2
  },
  "luminance": 0.22627
}

Semantic roles & 50–950 ramp

primary
#7B8A33
secondary
#7467B1
accent
#52D669
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B8A33

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

Preview Lab → · Contrast checker → · Palette generator →

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