#7D901E#7D901E

#7D901E is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.7% C 0.134 H 119.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7D901E
RGBrgb(125, 144, 30)
HSLhsl(70, 66%, 34%)
HSVhsv(70, 79%, 56%)
CMYKcmyk(13.2%, 0%, 79.2%, 43.5%)
CIE-LABlab(56.49, -21.81, 53.57)
CIE-LCHlch(56.49, 57.85, 112.15°)
OKLaboklab(61.74% -0.0653 0.1175)
OKLCHoklch(61.74% 0.134 119.1)
XYZxyz(18.6655, 24.4004, 4.9545)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D901E #311E90
analogous
#906A1E #7D901E #44901E
triadic
#7D901E #1E7D90 #901E7D
tetradic
#7D901E #1E906A #311E90 #901E44
square
#7D901E #1E906A #311E90 #901E44
split-complementary
#7D901E #1E4490 #6A1E90
monochromatic
#252B09 #515D13 #7D901E #A9C329 #C3DA4E

Accessibility & contrast

On white

3.57
#7D901E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7D901E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D901E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D901E#FFFFFF#000000##000000
##7D901E1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#85887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d901e;
/* rgb */ color: rgb(125, 144, 30);
/* oklch */ color: oklch(61.7% 0.134 119.1);
Tailwind
colors: {
  custom: {
    50: '#a6b064',
    500: '#7d901e',
    950: '#000000',
  },
}
SCSS
$custom: #7d901e;
$custom-light: #a6b064;
$custom-dark: #000000;
JSON
{
  "hex": "#7d901e",
  "rgb": {
    "r": 125,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 70,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61744,
    "c": 0.13441,
    "h": 119.1
  },
  "luminance": 0.244
}

Semantic roles & 50–950 ramp

primary
#7D901E
secondary
#604DBD
accent
#3FE85C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D901E

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

Preview Lab → · Contrast checker → · Palette generator →

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