#7F911F#7F911F

#7F911F is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.1% C 0.134 H 118.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7F911F
RGBrgb(127, 145, 31)
HSLhsl(69, 65%, 35%)
HSVhsv(69, 79%, 57%)
CMYKcmyk(12.4%, 0%, 78.6%, 43.1%)
CIE-LABlab(56.94, -21.40, 53.73)
CIE-LCHlch(56.94, 57.83, 111.72°)
OKLaboklab(62.15% -0.0642 0.1179)
OKLCHoklch(62.15% 0.134 118.6)
XYZxyz(19.1256, 24.8619, 5.0873)
Luminance0.2486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F911F #311F91
analogous
#916A1F #7F911F #46911F
triadic
#7F911F #1F7F91 #911F7F
tetradic
#7F911F #1F916A #311F91 #911F46
square
#7F911F #1F916A #311F91 #911F46
split-complementary
#7F911F #1F4691 #6A1F91
monochromatic
#272C09 #535F14 #7F911F #ABC32A #C4DA51

Accessibility & contrast

On white

3.52
#7F911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#7F911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F911F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F911F#FFFFFF#000000##000000
##7F911F1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#87897C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7f911f;
/* rgb */ color: rgb(127, 145, 31);
/* oklch */ color: oklch(62.1% 0.134 118.6);
Tailwind
colors: {
  custom: {
    50: '#a7b165',
    500: '#7f911f',
    950: '#000000',
  },
}
SCSS
$custom: #7f911f;
$custom-light: #a7b165;
$custom-dark: #000000;
JSON
{
  "hex": "#7f911f",
  "rgb": {
    "r": 127,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 69.474,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62149,
    "c": 0.13426,
    "h": 118.6
  },
  "luminance": 0.24862
}

Semantic roles & 50–950 ramp

primary
#7F911F
secondary
#604FBD
accent
#40E85B
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F911F

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

Preview Lab → · Contrast checker → · Palette generator →

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