#7F9729#7F9729

#7F9729 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.7% C 0.136 H 121.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7F9729
RGBrgb(127, 151, 41)
HSLhsl(73, 57%, 38%)
HSVhsv(73, 73%, 59%)
CMYKcmyk(15.9%, 0%, 72.8%, 40.8%)
CIE-LABlab(58.79, -23.91, 51.99)
CIE-LCHlch(58.79, 57.22, 114.70°)
OKLaboklab(63.66% -0.0702 0.116)
OKLCHoklch(63.66% 0.136 121.2)
XYZxyz(20.2196, 26.8054, 6.2061)
Luminance0.2681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9729 #412997
analogous
#977829 #7F9729 #489729
triadic
#7F9729 #297F97 #97297F
tetradic
#7F9729 #299778 #412997 #972948
square
#7F9729 #299778 #412997 #972948
split-complementary
#7F9729 #294897 #782997
monochromatic
#2E370F #57671C #7F9729 #A7C736 #BDD565

Accessibility & contrast

On white

3.30
#7F9729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#7F9729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9729
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9729#FFFFFF#000000##000000
##7F97291.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E15
Deuteranopia (green-blind)
#9D8E32
Tritanopia (blue-blind)
#868F82
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f9729;
/* rgb */ color: rgb(127, 151, 41);
/* oklch */ color: oklch(63.7% 0.136 121.2);
Tailwind
colors: {
  custom: {
    50: '#a7b56a',
    500: '#7f9729',
    950: '#000000',
  },
}
SCSS
$custom: #7f9729;
$custom-light: #a7b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9729",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 73.091,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63661,
    "c": 0.13559,
    "h": 121.2
  },
  "luminance": 0.26805
}

Semantic roles & 50–950 ramp

primary
#7F9729
secondary
#7461BB
accent
#47E169
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9729

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

Preview Lab → · Contrast checker → · Palette generator →

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