#7F9A19#7F9A19

#7F9A19 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.148 H 121.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7F9A19
RGBrgb(127, 154, 25)
HSLhsl(73, 72%, 35%)
HSVhsv(73, 84%, 60%)
CMYKcmyk(17.5%, 0%, 83.8%, 39.6%)
CIE-LABlab(59.61, -26.13, 57.87)
CIE-LCHlch(59.61, 63.50, 114.31°)
OKLaboklab(64.29% -0.0776 0.1257)
OKLCHoklch(64.29% 0.148 121.7)
XYZxyz(20.4838, 27.6934, 5.1857)
Luminance0.2769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9A19 #34199A
analogous
#9A7419 #7F9A19 #3F9A19
triadic
#7F9A19 #197F9A #9A197F
tetradic
#7F9A19 #199A74 #34199A #9A193F
square
#7F9A19 #199A74 #34199A #9A193F
split-complementary
#7F9A19 #193F9A #74199A
monochromatic
#283108 #546510 #7F9A19 #AACF22 #C2E24C

Accessibility & contrast

On white

3.21
#7F9A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#7F9A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9A19
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9A19#FFFFFF#000000##000000
##7F9A191.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A09028
Tritanopia (blue-blind)
#869283
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f9a19;
/* rgb */ color: rgb(127, 154, 25);
/* oklch */ color: oklch(64.3% 0.148 121.7);
Tailwind
colors: {
  custom: {
    50: '#a8b764',
    500: '#7f9a19',
    950: '#000000',
  },
}
SCSS
$custom: #7f9a19;
$custom-light: #a8b764;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9a19",
  "rgb": {
    "r": 127,
    "g": 154,
    "b": 25
  },
  "hsl": {
    "h": 72.558,
    "s": 72.067,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64294,
    "c": 0.14772,
    "h": 121.7
  },
  "luminance": 0.27693
}

Semantic roles & 50–950 ramp

primary
#7F9A19
secondary
#644BC4
accent
#39EF5F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9A19

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

Preview Lab → · Contrast checker → · Palette generator →

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