#7B9530#7B9530

#7B9530 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.9% C 0.130 H 122.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7B9530
RGBrgb(123, 149, 48)
HSLhsl(75, 51%, 39%)
HSVhsv(75, 68%, 58%)
CMYKcmyk(17.4%, 0%, 67.8%, 41.6%)
CIE-LABlab(57.96, -24.15, 48.27)
CIE-LCHlch(57.96, 53.97, 116.58°)
OKLaboklab(62.93% -0.07 0.1094)
OKLCHoklch(62.93% 0.13 122.6)
XYZxyz(19.4495, 25.9192, 6.7740)
Luminance0.2592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9530 #4A3095
analogous
#957C30 #7B9530 #489530
triadic
#7B9530 #307B95 #95307B
tetradic
#7B9530 #30957C #4A3095 #953048
square
#7B9530 #30957C #4A3095 #953048
split-complementary
#7B9530 #304895 #7C3095
monochromatic
#2F3812 #556721 #7B9530 #A0C241 #B7D16F

Accessibility & contrast

On white

3.40
#7B9530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#7B9530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9530
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9530#FFFFFF#000000##000000
##7B95301.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C22
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#818E81
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9530;
/* rgb */ color: rgb(123, 149, 48);
/* oklch */ color: oklch(62.9% 0.130 122.6);
Tailwind
colors: {
  custom: {
    50: '#a4b46e',
    500: '#7b9530',
    950: '#000000',
  },
}
SCSS
$custom: #7b9530;
$custom-light: #a4b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9530",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 48
  },
  "hsl": {
    "h": 75.446,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62933,
    "c": 0.12988,
    "h": 122.6
  },
  "luminance": 0.25919
}

Semantic roles & 50–950 ramp

primary
#7B9530
secondary
#7D69B8
accent
#4DDB72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7B9530

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

Preview Lab → · Contrast checker → · Palette generator →

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