#7D9831#7D9831

#7D9831 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.8% C 0.132 H 122.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7D9831
RGBrgb(125, 152, 49)
HSLhsl(76, 51%, 39%)
HSVhsv(76, 68%, 60%)
CMYKcmyk(17.8%, 0%, 67.8%, 40.4%)
CIE-LABlab(59.01, -24.74, 48.99)
CIE-LCHlch(59.01, 54.88, 116.79°)
OKLaboklab(63.82% -0.0716 0.111)
OKLCHoklch(63.82% 0.132 122.8)
XYZxyz(20.2403, 27.0381, 7.0577)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9831 #4C3198
analogous
#988031 #7D9831 #4A9831
triadic
#7D9831 #317D98 #98317D
tetradic
#7D9831 #319880 #4C3198 #98314A
square
#7D9831 #319880 #4C3198 #98314A
split-complementary
#7D9831 #314A98 #803198
monochromatic
#313B13 #576A22 #7D9831 #A1C344 #B8D272

Accessibility & contrast

On white

3.28
#7D9831 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9831#FFFFFF#000000##000000
##7D98311.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F23
Deuteranopia (green-blind)
#9D8E39
Tritanopia (blue-blind)
#839083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d9831;
/* rgb */ color: rgb(125, 152, 49);
/* oklch */ color: oklch(63.8% 0.132 122.8);
Tailwind
colors: {
  custom: {
    50: '#a5b66f',
    500: '#7d9831',
    950: '#000000',
  },
}
SCSS
$custom: #7d9831;
$custom-light: #a5b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9831",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 49
  },
  "hsl": {
    "h": 75.728,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63817,
    "c": 0.13212,
    "h": 122.8
  },
  "luminance": 0.27038
}

Semantic roles & 50–950 ramp

primary
#7D9831
secondary
#806BB9
accent
#4DDB72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9831

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

Preview Lab → · Contrast checker → · Palette generator →

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