#7D9F52#7D9F52

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

Color values

HEX#7D9F52
RGBrgb(125, 159, 82)
HSLhsl(86, 32%, 47%)
HSVhsv(86, 48%, 62%)
CMYKcmyk(21.4%, 0%, 48.4%, 37.6%)
CIE-LABlab(61.45, -25.10, 36.21)
CIE-LCHlch(61.45, 44.06, 124.72°)
OKLaboklab(65.9% -0.0697 0.087)
OKLCHoklch(65.9% 0.111 128.7)
XYZxyz(22.3784, 29.7651, 12.5472)
Luminance0.2977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9F52 #74529F
analogous
#9F9B52 #7D9F52 #569F52
triadic
#7D9F52 #527D9F #9F527D
tetradic
#7D9F52 #529F9B #74529F #9F5256
square
#7D9F52 #529F9B #74529F #9F5256
split-complementary
#7D9F52 #52569F #9B529F
monochromatic
#3E4E28 #5D773D #7D9F52 #9BB876 #B8CD9E

Accessibility & contrast

On white

3.02
#7D9F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#7D9F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9F52
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9F52#FFFFFF#000000##000000
##7D9F521.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6964B
Deuteranopia (green-blind)
#A19457
Tritanopia (blue-blind)
#80998D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7d9f52;
/* rgb */ color: rgb(125, 159, 82);
/* oklch */ color: oklch(65.9% 0.111 128.7);
Tailwind
colors: {
  custom: {
    50: '#a4bb84',
    500: '#7d9f52',
    950: '#000000',
  },
}
SCSS
$custom: #7d9f52;
$custom-light: #a4bb84;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9f52",
  "rgb": {
    "r": 125,
    "g": 159,
    "b": 82
  },
  "hsl": {
    "h": 86.494,
    "s": 31.95,
    "l": 47.255
  },
  "oklch": {
    "l": 0.65899,
    "c": 0.11148,
    "h": 128.7
  },
  "luminance": 0.29765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D9F52

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

Preview Lab → · Contrast checker → · Palette generator →

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