#7B9526#7B9526

#7B9526 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.9% C 0.137 H 122.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7B9526
RGBrgb(123, 149, 38)
HSLhsl(74, 59%, 37%)
HSVhsv(74, 74%, 58%)
CMYKcmyk(17.4%, 0%, 74.5%, 41.6%)
CIE-LABlab(57.89, -24.78, 52.11)
CIE-LCHlch(57.89, 57.71, 115.43°)
OKLaboklab(62.85% -0.0727 0.1159)
OKLCHoklch(62.85% 0.137 122.1)
XYZxyz(19.2660, 25.8457, 5.8071)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9526 #402695
analogous
#957826 #7B9526 #449526
triadic
#7B9526 #267B95 #95267B
tetradic
#7B9526 #269578 #402695 #952644
square
#7B9526 #269578 #402695 #952644
split-complementary
#7B9526 #264495 #782695
monochromatic
#2A330D #53641A #7B9526 #A3C632 #BAD65F

Accessibility & contrast

On white

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

On black

6.17
#7B9526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9526
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9526#FFFFFF#000000##000000
##7B95261.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C10
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#828D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9526;
/* rgb */ color: rgb(123, 149, 38);
/* oklch */ color: oklch(62.9% 0.137 122.1);
Tailwind
colors: {
  custom: {
    50: '#a4b469',
    500: '#7b9526',
    950: '#000000',
  },
}
SCSS
$custom: #7b9526;
$custom-light: #a4b469;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9526",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 74.054,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62854,
    "c": 0.13676,
    "h": 122.1
  },
  "luminance": 0.25846
}

Semantic roles & 50–950 ramp

primary
#7B9526
secondary
#725BBB
accent
#45E36A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9526

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

Preview Lab → · Contrast checker → · Palette generator →

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