#7F9B19#7F9B19

#7F9B19 is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.149 H 122.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7F9B19
RGBrgb(127, 155, 25)
HSLhsl(73, 72%, 35%)
HSVhsv(73, 84%, 61%)
CMYKcmyk(18.1%, 0%, 83.9%, 39.2%)
CIE-LABlab(59.91, -26.62, 58.13)
CIE-LCHlch(59.91, 63.94, 114.61°)
OKLaboklab(64.54% -0.0789 0.1263)
OKLCHoklch(64.54% 0.149 122)
XYZxyz(20.6496, 28.0249, 5.2410)
Luminance0.2802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9B19 #35199B
analogous
#9B7619 #7F9B19 #3E9B19
triadic
#7F9B19 #197F9B #9B197F
tetradic
#7F9B19 #199B76 #35199B #9B193E
square
#7F9B19 #199B76 #35199B #9B193E
split-complementary
#7F9B19 #193E9B #76199B
monochromatic
#293208 #546611 #7F9B19 #AAD022 #C2E24C

Accessibility & contrast

On white

3.18
#7F9B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#7F9B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9B19
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9B19#FFFFFF#000000##000000
##7F9B191.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A19028
Tritanopia (blue-blind)
#869384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f9b19;
/* rgb */ color: rgb(127, 155, 25);
/* oklch */ color: oklch(64.5% 0.149 122.0);
Tailwind
colors: {
  custom: {
    50: '#a8b864',
    500: '#7f9b19',
    950: '#000000',
  },
}
SCSS
$custom: #7f9b19;
$custom-light: #a8b864;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9b19",
  "rgb": {
    "r": 127,
    "g": 155,
    "b": 25
  },
  "hsl": {
    "h": 72.923,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64537,
    "c": 0.14889,
    "h": 122
  },
  "luminance": 0.28025
}

Semantic roles & 50–950 ramp

primary
#7F9B19
secondary
#664CC4
accent
#39EF60
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9B19

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

Preview Lab → · Contrast checker → · Palette generator →

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