#7D9237#7D9237

#7D9237 is a light, moderate yellow-green. Relative luminance 0.252; OKLCH L 62.4% C 0.119 H 121.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7D9237
RGBrgb(125, 146, 55)
HSLhsl(74, 45%, 39%)
HSVhsv(74, 62%, 57%)
CMYKcmyk(14.4%, 0%, 62.3%, 42.7%)
CIE-LABlab(57.26, -21.27, 44.50)
CIE-LCHlch(57.26, 49.32, 115.54°)
OKLaboklab(62.43% -0.0614 0.1024)
OKLCHoklch(62.43% 0.119 121)
XYZxyz(19.4262, 25.1936, 7.4531)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9237 #4C3792
analogous
#927A37 #7D9237 #509237
triadic
#7D9237 #377D92 #92377D
tetradic
#7D9237 #37927A #4C3792 #923750
square
#7D9237 #37927A #4C3792 #923750
split-complementary
#7D9237 #375092 #7A3792
monochromatic
#313916 #576626 #7D9237 #A1BB4B #B8CC77

Accessibility & contrast

On white

3.48
#7D9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#7D9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9237
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9237#FFFFFF#000000##000000
##7D92371.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2C
Deuteranopia (green-blind)
#988A3D
Tritanopia (blue-blind)
#838B7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7d9237;
/* rgb */ color: rgb(125, 146, 55);
/* oklch */ color: oklch(62.4% 0.119 121.0);
Tailwind
colors: {
  custom: {
    50: '#a5b272',
    500: '#7d9237',
    950: '#000000',
  },
}
SCSS
$custom: #7d9237;
$custom-light: #a5b272;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9237",
  "rgb": {
    "r": 125,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 73.846,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62427,
    "c": 0.1194,
    "h": 121
  },
  "luminance": 0.25194
}

Semantic roles & 50–950 ramp

primary
#7D9237
secondary
#8070B5
accent
#53D571
background
#FAFAF7
surface
#F4F5ED
border
#CECFC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7D9237

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

Preview Lab → · Contrast checker → · Palette generator →

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