#7D911F#7D911F

#7D911F 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#7D911F
RGBrgb(125, 145, 31)
HSLhsl(71, 65%, 35%)
HSVhsv(71, 79%, 57%)
CMYKcmyk(13.8%, 0%, 78.6%, 43.1%)
CIE-LABlab(56.79, -22.27, 53.53)
CIE-LCHlch(56.79, 57.98, 112.59°)
OKLaboklab(61.99% -0.0665 0.1176)
OKLCHoklch(61.99% 0.135 119.5)
XYZxyz(18.8306, 24.7098, 5.0735)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D911F #331F91
analogous
#916C1F #7D911F #44911F
triadic
#7D911F #1F7D91 #911F7D
tetradic
#7D911F #1F916C #331F91 #911F44
square
#7D911F #1F916C #331F91 #911F44
split-complementary
#7D911F #1F4491 #6C1F91
monochromatic
#262C09 #525F14 #7D911F #A8C32A #C2DA51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D911F#FFFFFF#000000##000000
##7D911F1.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)
#9B8800
Deuteranopia (green-blind)
#98892A
Tritanopia (blue-blind)
#85897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7d911f;
/* rgb */ color: rgb(125, 145, 31);
/* oklch */ color: oklch(62.0% 0.135 119.5);
Tailwind
colors: {
  custom: {
    50: '#a6b165',
    500: '#7d911f',
    950: '#000000',
  },
}
SCSS
$custom: #7d911f;
$custom-light: #a6b165;
$custom-dark: #000000;
JSON
{
  "hex": "#7d911f",
  "rgb": {
    "r": 125,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 70.526,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61992,
    "c": 0.13508,
    "h": 119.5
  },
  "luminance": 0.2471
}

Semantic roles & 50–950 ramp

primary
#7D911F
secondary
#624FBD
accent
#40E85D
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D911F

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

Preview Lab → · Contrast checker → · Palette generator →

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