#7D9737#7D9737

#7D9737 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.6% C 0.126 H 122.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7D9737
RGBrgb(125, 151, 55)
HSLhsl(76, 47%, 40%)
HSVhsv(76, 64%, 59%)
CMYKcmyk(17.2%, 0%, 63.6%, 40.8%)
CIE-LABlab(58.76, -23.79, 46.13)
CIE-LCHlch(58.76, 51.91, 117.28°)
OKLaboklab(63.63% -0.0684 0.1059)
OKLCHoklch(63.63% 0.126 122.9)
XYZxyz(20.2138, 26.7689, 7.7157)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9737 #513797
analogous
#978137 #7D9737 #4D9737
triadic
#7D9737 #377D97 #97377D
tetradic
#7D9737 #379781 #513797 #97374D
square
#7D9737 #379781 #513797 #97374D
split-complementary
#7D9737 #374D97 #813797
monochromatic
#333D16 #586A27 #7D9737 #A0BE4D #B8CF7A

Accessibility & contrast

On white

3.31
#7D9737 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#7D9737 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9737
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9737#FFFFFF#000000##000000
##7D97371.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E2B
Deuteranopia (green-blind)
#9C8D3E
Tritanopia (blue-blind)
#839083
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7d9737;
/* rgb */ color: rgb(125, 151, 55);
/* oklch */ color: oklch(63.6% 0.126 122.9);
Tailwind
colors: {
  custom: {
    50: '#a5b572',
    500: '#7d9737',
    950: '#000000',
  },
}
SCSS
$custom: #7d9737;
$custom-light: #a5b572;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9737",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 55
  },
  "hsl": {
    "h": 76.25,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63632,
    "c": 0.12605,
    "h": 122.9
  },
  "luminance": 0.26769
}

Semantic roles & 50–950 ramp

primary
#7D9737
secondary
#8572B8
accent
#52D675
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9737

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

Preview Lab → · Contrast checker → · Palette generator →

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