#7B9534#7B9534

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

Color values

HEX#7B9534
RGBrgb(123, 149, 52)
HSLhsl(76, 48%, 39%)
HSVhsv(76, 65%, 58%)
CMYKcmyk(17.4%, 0%, 65.1%, 41.6%)
CIE-LABlab(57.99, -23.86, 46.59)
CIE-LCHlch(57.99, 52.35, 117.12°)
OKLaboklab(62.97% -0.0688 0.1064)
OKLCHoklch(62.97% 0.127 122.9)
XYZxyz(19.5358, 25.9537, 7.2285)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9534 #4E3495
analogous
#957F34 #7B9534 #4B9534
triadic
#7B9534 #347B95 #95347B
tetradic
#7B9534 #34957F #4E3495 #95344B
square
#7B9534 #34957F #4E3495 #95344B
split-complementary
#7B9534 #344B95 #7F3495
monochromatic
#303A14 #566824 #7B9534 #9FBF47 #B7CF75

Accessibility & contrast

On white

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

On black

6.19
#7B9534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9534
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9534#FFFFFF#000000##000000
##7B95341.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b9534;
/* rgb */ color: rgb(123, 149, 52);
/* oklch */ color: oklch(63.0% 0.127 122.9);
Tailwind
colors: {
  custom: {
    50: '#a4b470',
    500: '#7b9534',
    950: '#000000',
  },
}
SCSS
$custom: #7b9534;
$custom-light: #a4b470;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9534",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 52
  },
  "hsl": {
    "h": 76.082,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6297,
    "c": 0.12674,
    "h": 122.9
  },
  "luminance": 0.25954
}

Semantic roles & 50–950 ramp

primary
#7B9534
secondary
#816EB7
accent
#50D874
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7B9534

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

Preview Lab → · Contrast checker → · Palette generator →

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