#7F9525#7F9525

#7F9525 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#7F9525
RGBrgb(127, 149, 37)
HSLhsl(72, 60%, 36%)
HSVhsv(72, 75%, 58%)
CMYKcmyk(14.8%, 0%, 75.2%, 41.6%)
CIE-LABlab(58.17, -23.13, 52.84)
CIE-LCHlch(58.17, 57.68, 113.64°)
OKLaboklab(63.15% -0.0684 0.1171)
OKLCHoklch(63.15% 0.136 120.3)
XYZxyz(19.8341, 26.1406, 5.7506)
Luminance0.2614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9525 #3B2595
analogous
#957325 #7F9525 #479525
triadic
#7F9525 #257F95 #95257F
tetradic
#7F9525 #259573 #3B2595 #952547
square
#7F9525 #259573 #3B2595 #952547
split-complementary
#7F9525 #254795 #732595
monochromatic
#2B330D #556419 #7F9525 #A9C631 #BFD75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F9525#FFFFFF#000000##000000
##7F95251.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)
#9F8C0D
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#868D80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f9525;
/* rgb */ color: rgb(127, 149, 37);
/* oklch */ color: oklch(63.1% 0.136 120.3);
Tailwind
colors: {
  custom: {
    50: '#a7b468',
    500: '#7f9525',
    950: '#000000',
  },
}
SCSS
$custom: #7f9525;
$custom-light: #a7b468;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9525",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 71.786,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6315,
    "c": 0.13564,
    "h": 120.3
  },
  "luminance": 0.2614
}

Semantic roles & 50–950 ramp

primary
#7F9525
secondary
#6D5ABC
accent
#44E364
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9525

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

Preview Lab → · Contrast checker → · Palette generator →

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