#7B9934#7B9934

#7B9934 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.132 H 124.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7B9934
RGBrgb(123, 153, 52)
HSLhsl(78, 49%, 40%)
HSVhsv(78, 66%, 60%)
CMYKcmyk(19.6%, 0%, 66%, 40%)
CIE-LABlab(59.20, -25.84, 47.87)
CIE-LCHlch(59.20, 54.40, 118.36°)
OKLaboklab(63.94% -0.0743 0.1092)
OKLCHoklch(63.94% 0.132 124.2)
XYZxyz(20.1796, 27.2412, 7.4431)
Luminance0.2724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9934 #523499
analogous
#998434 #7B9934 #489934
triadic
#7B9934 #347B99 #99347B
tetradic
#7B9934 #349984 #523499 #993448
square
#7B9934 #349984 #523499 #993448
split-complementary
#7B9934 #344899 #843499
monochromatic
#323E15 #566B24 #7B9934 #9DC149 #B6D177

Accessibility & contrast

On white

3.26
#7B9934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7B9934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9934
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9934#FFFFFF#000000##000000
##7B99341.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F27
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#819284
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b9934;
/* rgb */ color: rgb(123, 153, 52);
/* oklch */ color: oklch(63.9% 0.132 124.2);
Tailwind
colors: {
  custom: {
    50: '#a4b771',
    500: '#7b9934',
    950: '#000000',
  },
}
SCSS
$custom: #7b9934;
$custom-light: #a4b771;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9934",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 52
  },
  "hsl": {
    "h": 77.822,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63941,
    "c": 0.13203,
    "h": 124.2
  },
  "luminance": 0.27241
}

Semantic roles & 50–950 ramp

primary
#7B9934
secondary
#8570B9
accent
#4FD978
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7B9934

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

Preview Lab → · Contrast checker → · Palette generator →

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