#7F911D#7F911D

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

Color values

HEX#7F911D
RGBrgb(127, 145, 29)
HSLhsl(69, 67%, 34%)
HSVhsv(69, 80%, 57%)
CMYKcmyk(12.4%, 0%, 80%, 43.1%)
CIE-LABlab(56.93, -21.49, 54.35)
CIE-LCHlch(56.93, 58.44, 111.57°)
OKLaboklab(62.14% -0.0646 0.1189)
OKLCHoklch(62.14% 0.135 118.5)
XYZxyz(19.1000, 24.8517, 4.9528)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F911D #2F1D91
analogous
#91691D #7F911D #45911D
triadic
#7F911D #1D7F91 #911D7F
tetradic
#7F911D #1D9169 #2F1D91 #911D45
square
#7F911D #1D9169 #2F1D91 #911D45
split-complementary
#7F911D #1D4591 #691D91
monochromatic
#262B09 #525E13 #7F911D #ACC427 #C5DB4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F911D#FFFFFF#000000##000000
##7F911D1.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)
#9B8800
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#87897C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7f911d;
/* rgb */ color: rgb(127, 145, 29);
/* oklch */ color: oklch(62.1% 0.135 118.5);
Tailwind
colors: {
  custom: {
    50: '#a8b164',
    500: '#7f911d',
    950: '#000000',
  },
}
SCSS
$custom: #7f911d;
$custom-light: #a8b164;
$custom-dark: #000000;
JSON
{
  "hex": "#7f911d",
  "rgb": {
    "r": 127,
    "g": 145,
    "b": 29
  },
  "hsl": {
    "h": 69.31,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62138,
    "c": 0.1353,
    "h": 118.5
  },
  "luminance": 0.24852
}

Semantic roles & 50–950 ramp

primary
#7F911D
secondary
#5E4CBE
accent
#3EEA59
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F911D

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

Preview Lab → · Contrast checker → · Palette generator →

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