#7D9120#7D9120

#7D9120 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 62.0% C 0.135 H 119.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7D9120
RGBrgb(125, 145, 32)
HSLhsl(71, 64%, 35%)
HSVhsv(71, 78%, 57%)
CMYKcmyk(13.8%, 0%, 77.9%, 43.1%)
CIE-LABlab(56.80, -22.23, 53.21)
CIE-LCHlch(56.80, 57.67, 112.67°)
OKLaboklab(62% -0.0663 0.1171)
OKLCHoklch(62% 0.135 119.5)
XYZxyz(18.8439, 24.7152, 5.1440)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9120 #342091
analogous
#916C20 #7D9120 #459120
triadic
#7D9120 #207D91 #91207D
tetradic
#7D9120 #20916C #342091 #912045
square
#7D9120 #20916C #342091 #912045
split-complementary
#7D9120 #204591 #6C2091
monochromatic
#272D0A #525F15 #7D9120 #A8C32B #C1D952

Accessibility & contrast

On white

3.53
#7D9120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#7D9120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9120
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9120#FFFFFF#000000##000000
##7D91201.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8803
Deuteranopia (green-blind)
#98892B
Tritanopia (blue-blind)
#85897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7d9120;
/* rgb */ color: rgb(125, 145, 32);
/* oklch */ color: oklch(62.0% 0.135 119.5);
Tailwind
colors: {
  custom: {
    50: '#a6b165',
    500: '#7d9120',
    950: '#000000',
  },
}
SCSS
$custom: #7d9120;
$custom-light: #a6b165;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9120",
  "rgb": {
    "r": 125,
    "g": 145,
    "b": 32
  },
  "hsl": {
    "h": 70.619,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61998,
    "c": 0.13453,
    "h": 119.5
  },
  "luminance": 0.24715
}

Semantic roles & 50–950 ramp

primary
#7D9120
secondary
#6451BC
accent
#41E75E
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D9120

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

Preview Lab → · Contrast checker → · Palette generator →

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