#7F911C#7F911C

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

Color values

HEX#7F911C
RGBrgb(127, 145, 28)
HSLhsl(69, 68%, 34%)
HSVhsv(69, 81%, 57%)
CMYKcmyk(12.4%, 0%, 80.7%, 43.1%)
CIE-LABlab(56.93, -21.53, 54.65)
CIE-LCHlch(56.93, 58.74, 111.50°)
OKLaboklab(62.13% -0.0648 0.1193)
OKLCHoklch(62.13% 0.136 118.5)
XYZxyz(19.0878, 24.8468, 4.8887)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F911C #2E1C91
analogous
#91691C #7F911C #45911C
triadic
#7F911C #1C7F91 #911C7F
tetradic
#7F911C #1C9169 #2E1C91 #911C45
square
#7F911C #1C9169 #2E1C91 #911C45
split-complementary
#7F911C #1C4591 #691C91
monochromatic
#252A08 #525E12 #7F911C #ACC426 #C6DC4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F911C#FFFFFF#000000##000000
##7F911C1.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: #7f911c;
/* rgb */ color: rgb(127, 145, 28);
/* oklch */ color: oklch(62.1% 0.136 118.5);
Tailwind
colors: {
  custom: {
    50: '#a8b164',
    500: '#7f911c',
    950: '#000000',
  },
}
SCSS
$custom: #7f911c;
$custom-light: #a8b164;
$custom-dark: #000000;
JSON
{
  "hex": "#7f911c",
  "rgb": {
    "r": 127,
    "g": 145,
    "b": 28
  },
  "hsl": {
    "h": 69.231,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62133,
    "c": 0.1358,
    "h": 118.5
  },
  "luminance": 0.24847
}

Semantic roles & 50–950 ramp

primary
#7F911C
secondary
#5C4ABE
accent
#3DEB58
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F911C

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

Preview Lab → · Contrast checker → · Palette generator →

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