#7D9331#7D9331

#7D9331 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.6% C 0.126 H 121.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7D9331
RGBrgb(125, 147, 49)
HSLhsl(73, 50%, 38%)
HSVhsv(73, 67%, 58%)
CMYKcmyk(15%, 0%, 66.7%, 42.4%)
CIE-LABlab(57.51, -22.23, 47.42)
CIE-LCHlch(57.51, 52.37, 115.12°)
OKLaboklab(62.61% -0.0647 0.1077)
OKLCHoklch(62.61% 0.126 121)
XYZxyz(19.4458, 25.4492, 6.7929)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9331 #473193
analogous
#937831 #7D9331 #4C9331
triadic
#7D9331 #317D93 #93317D
tetradic
#7D9331 #319378 #473193 #93314C
square
#7D9331 #319378 #473193 #93314C
split-complementary
#7D9331 #314C93 #783193
monochromatic
#2F3712 #566522 #7D9331 #A3C041 #BACF6F

Accessibility & contrast

On white

3.45
#7D9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#7D9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9331
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9331#FFFFFF#000000##000000
##7D93311.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A24
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#848B7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7d9331;
/* rgb */ color: rgb(125, 147, 49);
/* oklch */ color: oklch(62.6% 0.126 121.0);
Tailwind
colors: {
  custom: {
    50: '#a5b26e',
    500: '#7d9331',
    950: '#000000',
  },
}
SCSS
$custom: #7d9331;
$custom-light: #a5b26e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9331",
  "rgb": {
    "r": 125,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 73.469,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62609,
    "c": 0.12565,
    "h": 121
  },
  "luminance": 0.25449
}

Semantic roles & 50–950 ramp

primary
#7D9331
secondary
#7A69B7
accent
#4EDA6E
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9331

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

Preview Lab → · Contrast checker → · Palette generator →

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