#7B9738#7B9738

#7B9738 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.5% C 0.126 H 123.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7B9738
RGBrgb(123, 151, 56)
HSLhsl(78, 46%, 41%)
HSVhsv(78, 63%, 59%)
CMYKcmyk(18.5%, 0%, 62.9%, 40.8%)
CIE-LABlab(58.63, -24.54, 45.50)
CIE-LCHlch(58.63, 51.70, 118.34°)
OKLaboklab(63.5% -0.0703 0.1047)
OKLCHoklch(63.5% 0.126 123.9)
XYZxyz(19.9489, 26.6296, 7.8297)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9738 #543897
analogous
#978338 #7B9738 #4B9738
triadic
#7B9738 #387B97 #97387B
tetradic
#7B9738 #389783 #543897 #97384B
square
#7B9738 #389783 #543897 #97384B
split-complementary
#7B9738 #384B97 #833897
monochromatic
#323E17 #576A27 #7B9738 #9DBE4F #B6CE7B

Accessibility & contrast

On white

3.32
#7B9738 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#7B9738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9738
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9738#FFFFFF#000000##000000
##7B97381.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2D
Deuteranopia (green-blind)
#9B8D3F
Tritanopia (blue-blind)
#819083
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9738;
/* rgb */ color: rgb(123, 151, 56);
/* oklch */ color: oklch(63.5% 0.126 123.9);
Tailwind
colors: {
  custom: {
    50: '#a4b573',
    500: '#7b9738',
    950: '#000000',
  },
}
SCSS
$custom: #7b9738;
$custom-light: #a4b573;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9738",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 56
  },
  "hsl": {
    "h": 77.684,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63495,
    "c": 0.1261,
    "h": 123.9
  },
  "luminance": 0.2663
}

Semantic roles & 50–950 ramp

primary
#7B9738
secondary
#8773B7
accent
#52D679
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7B9738

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

Preview Lab → · Contrast checker → · Palette generator →

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