#7F9528#7F9528

#7F9528 is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.2% C 0.134 H 120.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7F9528
RGBrgb(127, 149, 40)
HSLhsl(72, 58%, 37%)
HSVhsv(72, 73%, 58%)
CMYKcmyk(14.8%, 0%, 73.2%, 41.6%)
CIE-LABlab(58.19, -22.96, 51.77)
CIE-LCHlch(58.19, 56.63, 113.92°)
OKLaboklab(63.17% -0.0677 0.1154)
OKLCHoklch(63.17% 0.134 120.4)
XYZxyz(19.8832, 26.1602, 6.0090)
Luminance0.2616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9528 #3E2895
analogous
#957528 #7F9528 #499528
triadic
#7F9528 #287F95 #95287F
tetradic
#7F9528 #289575 #3E2895 #952849
square
#7F9528 #289575 #3E2895 #952849
split-complementary
#7F9528 #284995 #752895
monochromatic
#2D350E #56651B #7F9528 #A8C535 #BED562

Accessibility & contrast

On white

3.37
#7F9528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7F9528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9528
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9528#FFFFFF#000000##000000
##7F95281.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C14
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#868D80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f9528;
/* rgb */ color: rgb(127, 149, 40);
/* oklch */ color: oklch(63.2% 0.134 120.4);
Tailwind
colors: {
  custom: {
    50: '#a7b46a',
    500: '#7f9528',
    950: '#000000',
  },
}
SCSS
$custom: #7f9528;
$custom-light: #a7b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9528",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 72.11,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63171,
    "c": 0.13377,
    "h": 120.4
  },
  "luminance": 0.2616
}

Semantic roles & 50–950 ramp

primary
#7F9528
secondary
#715EBB
accent
#47E166
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9528

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

Preview Lab → · Contrast checker → · Palette generator →

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