#7F9F18#7F9F18

#7F9F18 is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.5% C 0.154 H 123.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7F9F18
RGBrgb(127, 159, 24)
HSLhsl(74, 74%, 36%)
HSVhsv(74, 85%, 62%)
CMYKcmyk(20.1%, 0%, 84.9%, 37.6%)
CIE-LABlab(61.11, -28.59, 59.42)
CIE-LCHlch(61.11, 65.94, 115.70°)
OKLaboklab(65.51% -0.0843 0.1289)
OKLCHoklch(65.51% 0.154 123.2)
XYZxyz(21.3157, 29.3741, 5.4108)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9F18 #38189F
analogous
#9F7B18 #7F9F18 #3C9F18
triadic
#7F9F18 #187F9F #9F187F
tetradic
#7F9F18 #189F7B #38189F #9F183C
square
#7F9F18 #189F7B #38189F #9F183C
split-complementary
#7F9F18 #183C9F #7B189F
monochromatic
#2A3508 #556A10 #7F9F18 #A9D420 #C0E44D

Accessibility & contrast

On white

3.05
#7F9F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#7F9F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9F18
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9F18#FFFFFF#000000##000000
##7F9F181.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A59328
Tritanopia (blue-blind)
#869787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7f9f18;
/* rgb */ color: rgb(127, 159, 24);
/* oklch */ color: oklch(65.5% 0.154 123.2);
Tailwind
colors: {
  custom: {
    50: '#a8bb64',
    500: '#7f9f18',
    950: '#000000',
  },
}
SCSS
$custom: #7f9f18;
$custom-light: #a8bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9f18",
  "rgb": {
    "r": 127,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 74.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65506,
    "c": 0.154,
    "h": 123.2
  },
  "luminance": 0.29374
}

Semantic roles & 50–950 ramp

primary
#7F9F18
secondary
#694DC6
accent
#37F063
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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