#7F9919#7F9919

#7F9919 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.1% C 0.147 H 121.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7F9919
RGBrgb(127, 153, 25)
HSLhsl(72, 72%, 35%)
HSVhsv(72, 84%, 60%)
CMYKcmyk(17%, 0%, 83.7%, 40%)
CIE-LABlab(59.31, -25.64, 57.61)
CIE-LCHlch(59.31, 63.06, 114.00°)
OKLaboklab(64.05% -0.0763 0.1251)
OKLCHoklch(64.05% 0.147 121.4)
XYZxyz(20.3195, 27.3647, 5.1310)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9919 #331999
analogous
#997319 #7F9919 #3F9919
triadic
#7F9919 #197F99 #99197F
tetradic
#7F9919 #199973 #331999 #99193F
square
#7F9919 #199973 #331999 #99193F
split-complementary
#7F9919 #193F99 #731999
monochromatic
#283008 #536410 #7F9919 #ABCE22 #C3E24B

Accessibility & contrast

On white

3.24
#7F9919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#7F9919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9919
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9919#FFFFFF#000000##000000
##7F99191.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#869182
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f9919;
/* rgb */ color: rgb(127, 153, 25);
/* oklch */ color: oklch(64.1% 0.147 121.4);
Tailwind
colors: {
  custom: {
    50: '#a8b764',
    500: '#7f9919',
    950: '#000000',
  },
}
SCSS
$custom: #7f9919;
$custom-light: #a8b764;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9919",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 25
  },
  "hsl": {
    "h": 72.188,
    "s": 71.91,
    "l": 34.902
  },
  "oklch": {
    "l": 0.64052,
    "c": 0.14654,
    "h": 121.4
  },
  "luminance": 0.27365
}

Semantic roles & 50–950 ramp

primary
#7F9919
secondary
#634AC3
accent
#39EF5E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9919

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

Preview Lab → · Contrast checker → · Palette generator →

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