#7B9237#7B9237

#7B9237 is a light, vivid yellow-green. Relative luminance 0.250; OKLCH L 62.3% C 0.120 H 122.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7B9237
RGBrgb(123, 146, 55)
HSLhsl(75, 45%, 39%)
HSVhsv(75, 62%, 57%)
CMYKcmyk(15.8%, 0%, 62.3%, 42.7%)
CIE-LABlab(57.12, -22.11, 44.30)
CIE-LCHlch(57.12, 49.52, 116.52°)
OKLaboklab(62.27% -0.0636 0.102)
OKLCHoklch(62.27% 0.12 122)
XYZxyz(19.1370, 25.0445, 7.4396)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9237 #4E3792
analogous
#927C37 #7B9237 #4E9237
triadic
#7B9237 #377B92 #92377B
tetradic
#7B9237 #37927C #4E3792 #92374E
square
#7B9237 #37927C #4E3792 #92374E
split-complementary
#7B9237 #374E92 #7C3792
monochromatic
#303916 #566626 #7B9237 #9FBB4B #B7CC77

Accessibility & contrast

On white

3.49
#7B9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#7B9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9237
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9237#FFFFFF#000000##000000
##7B92371.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A2C
Deuteranopia (green-blind)
#97893D
Tritanopia (blue-blind)
#818B7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9237;
/* rgb */ color: rgb(123, 146, 55);
/* oklch */ color: oklch(62.3% 0.120 122.0);
Tailwind
colors: {
  custom: {
    50: '#a3b272',
    500: '#7b9237',
    950: '#000000',
  },
}
SCSS
$custom: #7b9237;
$custom-light: #a3b272;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9237",
  "rgb": {
    "r": 123,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 75.165,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62274,
    "c": 0.12024,
    "h": 122
  },
  "luminance": 0.25045
}

Semantic roles & 50–950 ramp

primary
#7B9237
secondary
#8170B5
accent
#53D574
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7B9237

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

Preview Lab → · Contrast checker → · Palette generator →

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