#7D9835#7D9835

#7D9835 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.9% C 0.129 H 123.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7D9835
RGBrgb(125, 152, 53)
HSLhsl(76, 48%, 40%)
HSVhsv(76, 65%, 60%)
CMYKcmyk(17.8%, 0%, 65.1%, 40.4%)
CIE-LABlab(59.04, -24.44, 47.32)
CIE-LCHlch(59.04, 53.26, 117.32°)
OKLaboklab(63.85% -0.0704 0.1081)
OKLCHoklch(63.85% 0.129 123.1)
XYZxyz(20.3285, 27.0734, 7.5222)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9835 #503598
analogous
#988235 #7D9835 #4B9835
triadic
#7D9835 #357D98 #98357D
tetradic
#7D9835 #359882 #503598 #98354B
square
#7D9835 #359882 #503598 #98354B
split-complementary
#7D9835 #354B98 #823598
monochromatic
#323D15 #586B25 #7D9835 #A0C04A #B8D078

Accessibility & contrast

On white

3.27
#7D9835 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#7D9835 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9835
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9835#FFFFFF#000000##000000
##7D98351.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F28
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#839184
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d9835;
/* rgb */ color: rgb(125, 152, 53);
/* oklch */ color: oklch(63.9% 0.129 123.1);
Tailwind
colors: {
  custom: {
    50: '#a5b671',
    500: '#7d9835',
    950: '#000000',
  },
}
SCSS
$custom: #7d9835;
$custom-light: #a5b671;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9835",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 53
  },
  "hsl": {
    "h": 76.364,
    "s": 48.293,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63854,
    "c": 0.12901,
    "h": 123.1
  },
  "luminance": 0.27073
}

Semantic roles & 50–950 ramp

primary
#7D9835
secondary
#8470B8
accent
#50D875
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9835

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

Preview Lab → · Contrast checker → · Palette generator →

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