#7D9246#7D9246

#7D9246 is a light, moderate yellow-green. Relative luminance 0.254; OKLCH L 62.6% C 0.105 H 122.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7D9246
RGBrgb(125, 146, 70)
HSLhsl(77, 35%, 42%)
HSVhsv(77, 52%, 57%)
CMYKcmyk(14.4%, 0%, 52.1%, 42.7%)
CIE-LABlab(57.42, -19.88, 37.45)
CIE-LCHlch(57.42, 42.39, 117.96°)
OKLaboklab(62.61% -0.056 0.0889)
OKLCHoklch(62.61% 0.105 122.2)
XYZxyz(19.8419, 25.3599, 9.6428)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9246 #5B4692
analogous
#928146 #7D9246 #579246
triadic
#7D9246 #467D92 #92467D
tetradic
#7D9246 #469281 #5B4692 #924657
square
#7D9246 #469281 #5B4692 #924657
split-complementary
#7D9246 #465792 #814692
monochromatic
#363F1E #5A6932 #7D9246 #9DB462 #B7C78B

Accessibility & contrast

On white

3.46
#7D9246 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#7D9246 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9246
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9246#FFFFFF#000000##000000
##7D92461.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A3F
Deuteranopia (green-blind)
#978A4A
Tritanopia (blue-blind)
#828C81
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7d9246;
/* rgb */ color: rgb(125, 146, 70);
/* oklch */ color: oklch(62.6% 0.105 122.2);
Tailwind
colors: {
  custom: {
    50: '#a4b27b',
    500: '#7d9246',
    950: '#000000',
  },
}
SCSS
$custom: #7d9246;
$custom-light: #a4b27b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9246",
  "rgb": {
    "r": 125,
    "g": 146,
    "b": 70
  },
  "hsl": {
    "h": 76.579,
    "s": 35.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.62608,
    "c": 0.10505,
    "h": 122.2
  },
  "luminance": 0.2536
}

Semantic roles & 50–950 ramp

primary
#7D9246
secondary
#8F81B3
accent
#5DCB7B
background
#FAFAF7
surface
#F4F5EE
border
#CECFC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7D9246

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

Preview Lab → · Contrast checker → · Palette generator →

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