#7D9121#7D9121

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

Color values

HEX#7D9121
RGBrgb(125, 145, 33)
HSLhsl(71, 63%, 35%)
HSVhsv(71, 77%, 57%)
CMYKcmyk(13.8%, 0%, 77.2%, 43.1%)
CIE-LABlab(56.80, -22.18, 52.88)
CIE-LCHlch(56.80, 57.34, 112.76°)
OKLaboklab(62% -0.0661 0.1166)
OKLCHoklch(62% 0.134 119.5)
XYZxyz(18.8577, 24.7207, 5.2167)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9121 #352191
analogous
#916D21 #7D9121 #459121
triadic
#7D9121 #217D91 #91217D
tetradic
#7D9121 #21916D #352191 #912145
square
#7D9121 #21916D #352191 #912145
split-complementary
#7D9121 #214591 #6D2191
monochromatic
#272D0A #525F16 #7D9121 #A8C32C #C1D854

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9121#FFFFFF#000000##000000
##7D91211.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)
#9B8805
Deuteranopia (green-blind)
#98892B
Tritanopia (blue-blind)
#85897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7d9121;
/* rgb */ color: rgb(125, 145, 33);
/* oklch */ color: oklch(62.0% 0.134 119.5);
Tailwind
colors: {
  custom: {
    50: '#a6b166',
    500: '#7d9121',
    950: '#000000',
  },
}
SCSS
$custom: #7d9121;
$custom-light: #a6b166;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9121",
  "rgb": {
    "r": 125,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 70.714,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62004,
    "c": 0.13397,
    "h": 119.5
  },
  "luminance": 0.24721
}

Semantic roles & 50–950 ramp

primary
#7D9121
secondary
#6552BC
accent
#42E65F
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D9121

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

Preview Lab → · Contrast checker → · Palette generator →

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