#7B9527#7B9527

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

Color values

HEX#7B9527
RGBrgb(123, 149, 39)
HSLhsl(74, 59%, 37%)
HSVhsv(74, 74%, 58%)
CMYKcmyk(17.4%, 0%, 73.8%, 41.6%)
CIE-LABlab(57.90, -24.73, 51.75)
CIE-LCHlch(57.90, 57.36, 115.54°)
OKLaboklab(62.86% -0.0724 0.1153)
OKLCHoklch(62.86% 0.136 122.1)
XYZxyz(19.2823, 25.8523, 5.8932)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9527 #412795
analogous
#957827 #7B9527 #449527
triadic
#7B9527 #277B95 #95277B
tetradic
#7B9527 #279578 #412795 #952744
square
#7B9527 #279578 #412795 #952744
split-complementary
#7B9527 #274495 #782795
monochromatic
#2B340E #53641A #7B9527 #A3C634 #BAD661

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9527#FFFFFF#000000##000000
##7B95271.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)
#9E8C12
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#828D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9527;
/* rgb */ color: rgb(123, 149, 39);
/* oklch */ color: oklch(62.9% 0.136 122.1);
Tailwind
colors: {
  custom: {
    50: '#a4b469',
    500: '#7b9527',
    950: '#000000',
  },
}
SCSS
$custom: #7b9527;
$custom-light: #a4b469;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9527",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 39
  },
  "hsl": {
    "h": 74.182,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62861,
    "c": 0.13614,
    "h": 122.1
  },
  "luminance": 0.25852
}

Semantic roles & 50–950 ramp

primary
#7B9527
secondary
#735DBB
accent
#46E26B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9527

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

Preview Lab → · Contrast checker → · Palette generator →

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