#7D9122#7D9122

#7D9122 is a light, vivid yellow-green. Relative luminance 0.247; OKLCH L 62.0% C 0.133 H 119.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7D9122
RGBrgb(125, 145, 34)
HSLhsl(71, 62%, 35%)
HSVhsv(71, 77%, 57%)
CMYKcmyk(13.8%, 0%, 76.6%, 43.1%)
CIE-LABlab(56.81, -22.13, 52.55)
CIE-LCHlch(56.81, 57.02, 112.84°)
OKLaboklab(62.01% -0.0658 0.116)
OKLCHoklch(62.01% 0.133 119.6)
XYZxyz(18.8720, 24.7264, 5.2915)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9122 #362291
analogous
#916E22 #7D9122 #459122
triadic
#7D9122 #227D91 #91227D
tetradic
#7D9122 #22916E #362291 #912245
square
#7D9122 #22916E #362291 #912245
split-complementary
#7D9122 #224591 #6E2291
monochromatic
#282E0B #525F16 #7D9122 #A8C32E #C0D756

Accessibility & contrast

On white

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

On black

5.95
#7D9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9122
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9122#FFFFFF#000000##000000
##7D91221.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9122;
/* rgb */ color: rgb(125, 145, 34);
/* oklch */ color: oklch(62.0% 0.133 119.6);
Tailwind
colors: {
  custom: {
    50: '#a6b166',
    500: '#7d9122',
    950: '#000000',
  },
}
SCSS
$custom: #7d9122;
$custom-light: #a6b166;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9122",
  "rgb": {
    "r": 125,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 70.811,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6201,
    "c": 0.1334,
    "h": 119.6
  },
  "luminance": 0.24726
}

Semantic roles & 50–950 ramp

primary
#7D9122
secondary
#6653BB
accent
#43E560
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D9122

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

Preview Lab → · Contrast checker → · Palette generator →

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