#7F9519#7F9519

#7F9519 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.1% C 0.142 H 120.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7F9519
RGBrgb(127, 149, 25)
HSLhsl(71, 71%, 34%)
HSVhsv(71, 83%, 58%)
CMYKcmyk(14.8%, 0%, 83.2%, 41.6%)
CIE-LABlab(58.11, -23.66, 56.56)
CIE-LCHlch(58.11, 61.31, 112.70°)
OKLaboklab(63.08% -0.0708 0.1229)
OKLCHoklch(63.08% 0.142 120)
XYZxyz(19.6757, 26.0772, 4.9164)
Luminance0.2608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9519 #2F1995
analogous
#956D19 #7F9519 #419519
triadic
#7F9519 #197F95 #95197F
tetradic
#7F9519 #19956D #2F1995 #951941
square
#7F9519 #19956D #2F1995 #951941
split-complementary
#7F9519 #194195 #6D1995
monochromatic
#262C07 #526110 #7F9519 #ACC922 #C5E048

Accessibility & contrast

On white

3.38
#7F9519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7F9519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9519
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9519#FFFFFF#000000##000000
##7F95191.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8C26
Tritanopia (blue-blind)
#878D7F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f9519;
/* rgb */ color: rgb(127, 149, 25);
/* oklch */ color: oklch(63.1% 0.142 120.0);
Tailwind
colors: {
  custom: {
    50: '#a8b463',
    500: '#7f9519',
    950: '#000000',
  },
}
SCSS
$custom: #7f9519;
$custom-light: #a8b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9519",
  "rgb": {
    "r": 127,
    "g": 149,
    "b": 25
  },
  "hsl": {
    "h": 70.645,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.63083,
    "c": 0.14185,
    "h": 120
  },
  "luminance": 0.26077
}

Semantic roles & 50–950 ramp

primary
#7F9519
secondary
#5E48C2
accent
#3AEE5A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9519

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

Preview Lab → · Contrast checker → · Palette generator →

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