#7B9535#7B9535

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

Color values

HEX#7B9535
RGBrgb(123, 149, 53)
HSLhsl(76, 48%, 40%)
HSVhsv(76, 64%, 58%)
CMYKcmyk(17.4%, 0%, 64.4%, 41.6%)
CIE-LABlab(58.00, -23.78, 46.16)
CIE-LCHlch(58.00, 51.93, 117.26°)
OKLaboklab(62.98% -0.0685 0.1057)
OKLCHoklch(62.98% 0.126 122.9)
XYZxyz(19.5586, 25.9628, 7.3484)
Luminance0.2596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9535 #4F3595
analogous
#957F35 #7B9535 #4B9535
triadic
#7B9535 #357B95 #95357B
tetradic
#7B9535 #35957F #4F3595 #95354B
square
#7B9535 #35957F #4F3595 #95354B
split-complementary
#7B9535 #354B95 #7F3595
monochromatic
#303B15 #566825 #7B9535 #9EBE49 #B6CE76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9535#FFFFFF#000000##000000
##7B95351.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)
#9D8C29
Deuteranopia (green-blind)
#9A8B3C
Tritanopia (blue-blind)
#818E81
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9535;
/* rgb */ color: rgb(123, 149, 53);
/* oklch */ color: oklch(63.0% 0.126 122.9);
Tailwind
colors: {
  custom: {
    50: '#a4b471',
    500: '#7b9535',
    950: '#000000',
  },
}
SCSS
$custom: #7b9535;
$custom-light: #a4b471;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9535",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 53
  },
  "hsl": {
    "h": 76.25,
    "s": 47.525,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62979,
    "c": 0.12592,
    "h": 122.9
  },
  "luminance": 0.25963
}

Semantic roles & 50–950 ramp

primary
#7B9535
secondary
#826FB7
accent
#51D775
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7B9535

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

Preview Lab → · Contrast checker → · Palette generator →

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