#7B9331#7B9331

#7B9331 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.5% C 0.127 H 121.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7B9331
RGBrgb(123, 147, 49)
HSLhsl(75, 50%, 38%)
HSVhsv(75, 67%, 58%)
CMYKcmyk(16.3%, 0%, 66.7%, 42.4%)
CIE-LABlab(57.37, -23.08, 47.23)
CIE-LCHlch(57.37, 52.56, 116.05°)
OKLaboklab(62.46% -0.0669 0.1074)
OKLCHoklch(62.46% 0.127 121.9)
XYZxyz(19.1567, 25.3001, 6.7793)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9331 #493193
analogous
#937A31 #7B9331 #4A9331
triadic
#7B9331 #317B93 #93317B
tetradic
#7B9331 #31937A #493193 #93314A
square
#7B9331 #31937A #493193 #93314A
split-complementary
#7B9331 #314A93 #7A3193
monochromatic
#2E3712 #556522 #7B9331 #A1C041 #B8CF6F

Accessibility & contrast

On white

3.47
#7B9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#7B9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9331
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9331#FFFFFF#000000##000000
##7B93311.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A24
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#818C7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b9331;
/* rgb */ color: rgb(123, 147, 49);
/* oklch */ color: oklch(62.5% 0.127 121.9);
Tailwind
colors: {
  custom: {
    50: '#a4b26e',
    500: '#7b9331',
    950: '#000000',
  },
}
SCSS
$custom: #7b9331;
$custom-light: #a4b26e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9331",
  "rgb": {
    "r": 123,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 74.694,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62456,
    "c": 0.12651,
    "h": 121.9
  },
  "luminance": 0.253
}

Semantic roles & 50–950 ramp

primary
#7B9331
secondary
#7C69B7
accent
#4EDA70
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7B9331

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

Preview Lab → · Contrast checker → · Palette generator →

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