#7F911E#7F911E

#7F911E 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#7F911E
RGBrgb(127, 145, 30)
HSLhsl(69, 66%, 34%)
HSVhsv(69, 79%, 57%)
CMYKcmyk(12.4%, 0%, 79.3%, 43.1%)
CIE-LABlab(56.94, -21.45, 54.04)
CIE-LCHlch(56.94, 58.14, 111.65°)
OKLaboklab(62.14% -0.0644 0.1184)
OKLCHoklch(62.14% 0.135 118.5)
XYZxyz(19.1126, 24.8567, 5.0190)
Luminance0.2486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F911E #301E91
analogous
#916A1E #7F911E #46911E
triadic
#7F911E #1E7F91 #911E7F
tetradic
#7F911E #1E916A #301E91 #911E46
square
#7F911E #1E916A #301E91 #911E46
split-complementary
#7F911E #1E4691 #6A1E91
monochromatic
#262C09 #535E14 #7F911E #ABC428 #C5DB4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F911E#FFFFFF#000000##000000
##7F911E1.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)
#998929
Tritanopia (blue-blind)
#87897C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7f911e;
/* rgb */ color: rgb(127, 145, 30);
/* oklch */ color: oklch(62.1% 0.135 118.5);
Tailwind
colors: {
  custom: {
    50: '#a7b164',
    500: '#7f911e',
    950: '#000000',
  },
}
SCSS
$custom: #7f911e;
$custom-light: #a7b164;
$custom-dark: #000000;
JSON
{
  "hex": "#7f911e",
  "rgb": {
    "r": 127,
    "g": 145,
    "b": 30
  },
  "hsl": {
    "h": 69.391,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62144,
    "c": 0.13479,
    "h": 118.5
  },
  "luminance": 0.24857
}

Semantic roles & 50–950 ramp

primary
#7F911E
secondary
#5F4DBD
accent
#3FE95A
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F911E

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

Preview Lab → · Contrast checker → · Palette generator →

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