#7B9537#7B9537

#7B9537 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 63.0% C 0.124 H 123.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7B9537
RGBrgb(123, 149, 55)
HSLhsl(77, 46%, 40%)
HSVhsv(77, 63%, 58%)
CMYKcmyk(17.4%, 0%, 63.1%, 41.6%)
CIE-LABlab(58.02, -23.62, 45.29)
CIE-LCHlch(58.02, 51.08, 117.55°)
OKLaboklab(63% -0.0678 0.1041)
OKLCHoklch(63% 0.124 123.1)
XYZxyz(19.6056, 25.9816, 7.5958)
Luminance0.2598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9537 #513795
analogous
#958037 #7B9537 #4C9537
triadic
#7B9537 #377B95 #95377B
tetradic
#7B9537 #379580 #513795 #95374C
square
#7B9537 #379580 #513795 #95374C
split-complementary
#7B9537 #374C95 #803795
monochromatic
#313C16 #566827 #7B9537 #9EBD4C #B6CD79

Accessibility & contrast

On white

3.39
#7B9537 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7B9537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9537
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9537#FFFFFF#000000##000000
##7B95371.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C2C
Deuteranopia (green-blind)
#9A8B3E
Tritanopia (blue-blind)
#818E81
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9537;
/* rgb */ color: rgb(123, 149, 55);
/* oklch */ color: oklch(63.0% 0.124 123.1);
Tailwind
colors: {
  custom: {
    50: '#a4b472',
    500: '#7b9537',
    950: '#000000',
  },
}
SCSS
$custom: #7b9537;
$custom-light: #a4b472;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9537",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 55
  },
  "hsl": {
    "h": 76.596,
    "s": 46.078,
    "l": 40
  },
  "oklch": {
    "l": 0.62999,
    "c": 0.12425,
    "h": 123.1
  },
  "luminance": 0.25982
}

Semantic roles & 50–950 ramp

primary
#7B9537
secondary
#8471B6
accent
#52D676
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7B9537

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

Preview Lab → · Contrast checker → · Palette generator →

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