#7B9652#7B9652

#7B9652 is a light, moderate yellow-green. Relative luminance 0.266; OKLCH L 63.6% C 0.099 H 126.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7B9652
RGBrgb(123, 150, 82)
HSLhsl(84, 29%, 45%)
HSVhsv(84, 45%, 59%)
CMYKcmyk(18%, 0%, 45.3%, 41.2%)
CIE-LABlab(58.63, -21.36, 32.69)
CIE-LCHlch(58.63, 39.05, 123.17°)
OKLaboklab(63.6% -0.0591 0.0792)
OKLCHoklch(63.6% 0.099 126.8)
XYZxyz(20.5976, 26.6326, 12.0365)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9652 #6D5296
analogous
#968F52 #7B9652 #599652
triadic
#7B9652 #527B96 #96527B
tetradic
#7B9652 #52968F #6D5296 #965259
square
#7B9652 #52968F #6D5296 #965259
split-complementary
#7B9652 #525996 #8F5296
monochromatic
#3A4727 #5B6E3C #7B9652 #99B273 #B6C89A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9652#FFFFFF#000000##000000
##7B96521.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)
#9C8E4D
Deuteranopia (green-blind)
#988D56
Tritanopia (blue-blind)
#7E9086
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9652;
/* rgb */ color: rgb(123, 150, 82);
/* oklch */ color: oklch(63.6% 0.099 126.8);
Tailwind
colors: {
  custom: {
    50: '#a2b584',
    500: '#7b9652',
    950: '#000000',
  },
}
SCSS
$custom: #7b9652;
$custom-light: #a2b584;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9652",
  "rgb": {
    "r": 123,
    "g": 150,
    "b": 82
  },
  "hsl": {
    "h": 83.824,
    "s": 29.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.63595,
    "c": 0.09884,
    "h": 126.8
  },
  "luminance": 0.26633
}

Semantic roles & 50–950 ramp

primary
#7B9652
secondary
#9E8FB5
accent
#62C68A
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7B9652

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

Preview Lab → · Contrast checker → · Palette generator →

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