#7B9533#7B9533

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

Color values

HEX#7B9533
RGBrgb(123, 149, 51)
HSLhsl(76, 49%, 39%)
HSVhsv(76, 66%, 58%)
CMYKcmyk(17.4%, 0%, 65.8%, 41.6%)
CIE-LABlab(57.98, -23.93, 47.02)
CIE-LCHlch(57.98, 52.76, 116.98°)
OKLaboklab(62.96% -0.0691 0.1072)
OKLCHoklch(62.96% 0.128 122.8)
XYZxyz(19.5136, 25.9448, 7.1111)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9533 #4D3395
analogous
#957E33 #7B9533 #4A9533
triadic
#7B9533 #337B95 #95337B
tetradic
#7B9533 #33957E #4D3395 #95334A
square
#7B9533 #33957E #4D3395 #95334A
split-complementary
#7B9533 #334A95 #7E3395
monochromatic
#303A14 #556723 #7B9533 #9FC046 #B7CF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9533#FFFFFF#000000##000000
##7B95331.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)
#9E8C26
Deuteranopia (green-blind)
#9A8B3A
Tritanopia (blue-blind)
#818E81
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9533;
/* rgb */ color: rgb(123, 149, 51);
/* oklch */ color: oklch(63.0% 0.128 122.8);
Tailwind
colors: {
  custom: {
    50: '#a4b470',
    500: '#7b9533',
    950: '#000000',
  },
}
SCSS
$custom: #7b9533;
$custom-light: #a4b470;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9533",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 51
  },
  "hsl": {
    "h": 75.918,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6296,
    "c": 0.12755,
    "h": 122.8
  },
  "luminance": 0.25945
}

Semantic roles & 50–950 ramp

primary
#7B9533
secondary
#806CB7
accent
#4FD974
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7B9533

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

Preview Lab → · Contrast checker → · Palette generator →

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