#7E9F52#7E9F52

#7E9F52 is a light, moderate yellow-green. Relative luminance 0.298; OKLCH L 66.0% C 0.111 H 128.2°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7E9F52
RGBrgb(126, 159, 82)
HSLhsl(86, 32%, 47%)
HSVhsv(86, 48%, 62%)
CMYKcmyk(20.8%, 0%, 48.4%, 37.6%)
CIE-LABlab(61.52, -24.70, 36.31)
CIE-LCHlch(61.52, 43.91, 124.23°)
OKLaboklab(65.97% -0.0686 0.0872)
OKLCHoklch(65.97% 0.111 128.2)
XYZxyz(22.5251, 29.8407, 12.5541)
Luminance0.2984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9F52 #73529F
analogous
#9F9952 #7E9F52 #589F52
triadic
#7E9F52 #527E9F #9F527E
tetradic
#7E9F52 #529F99 #73529F #9F5258
square
#7E9F52 #529F99 #73529F #9F5258
split-complementary
#7E9F52 #52589F #99529F
monochromatic
#3E4E28 #5E773D #7E9F52 #9CB876 #B9CD9E

Accessibility & contrast

On white

3.01
#7E9F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#7E9F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9F52
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9F52#FFFFFF#000000##000000
##7E9F521.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6964B
Deuteranopia (green-blind)
#A19456
Tritanopia (blue-blind)
#81998D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e9f52;
/* rgb */ color: rgb(126, 159, 82);
/* oklch */ color: oklch(66.0% 0.111 128.2);
Tailwind
colors: {
  custom: {
    50: '#a5bb84',
    500: '#7e9f52',
    950: '#000000',
  },
}
SCSS
$custom: #7e9f52;
$custom-light: #a5bb84;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9f52",
  "rgb": {
    "r": 126,
    "g": 159,
    "b": 82
  },
  "hsl": {
    "h": 85.714,
    "s": 31.95,
    "l": 47.255
  },
  "oklch": {
    "l": 0.65968,
    "c": 0.11099,
    "h": 128.2
  },
  "luminance": 0.29841
}

Semantic roles & 50–950 ramp

primary
#7E9F52
secondary
#A493BA
accent
#60C88C
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7E9F52

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

Preview Lab → · Contrast checker → · Palette generator →

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