#7F9524#7F9524

#7F9524 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.1% C 0.136 H 120.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7F9524
RGBrgb(127, 149, 36)
HSLhsl(72, 61%, 36%)
HSVhsv(72, 76%, 58%)
CMYKcmyk(14.8%, 0%, 75.8%, 41.6%)
CIE-LABlab(58.16, -23.18, 53.19)
CIE-LCHlch(58.16, 58.02, 113.55°)
OKLaboklab(63.14% -0.0687 0.1177)
OKLCHoklch(63.14% 0.136 120.3)
XYZxyz(19.8186, 26.1344, 5.6691)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9524 #3A2495
analogous
#957324 #7F9524 #479524
triadic
#7F9524 #247F95 #95247F
tetradic
#7F9524 #249573 #3A2495 #952447
square
#7F9524 #249573 #3A2495 #952447
split-complementary
#7F9524 #244795 #732495
monochromatic
#2B320C #556418 #7F9524 #A9C630 #BFD85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F9524#FFFFFF#000000##000000
##7F95241.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)
#9F8C0B
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#868D80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f9524;
/* rgb */ color: rgb(127, 149, 36);
/* oklch */ color: oklch(63.1% 0.136 120.3);
Tailwind
colors: {
  custom: {
    50: '#a7b468',
    500: '#7f9524',
    950: '#000000',
  },
}
SCSS
$custom: #7f9524;
$custom-light: #a7b468;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9524",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 71.681,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63144,
    "c": 0.13623,
    "h": 120.3
  },
  "luminance": 0.26134
}

Semantic roles & 50–950 ramp

primary
#7F9524
secondary
#6C59BC
accent
#44E463
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9524

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

Preview Lab → · Contrast checker → · Palette generator →

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