#7F9918#7F9918

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

Color values

HEX#7F9918
RGBrgb(127, 153, 24)
HSLhsl(72, 73%, 35%)
HSVhsv(72, 84%, 60%)
CMYKcmyk(17%, 0%, 84.3%, 40%)
CIE-LABlab(59.31, -25.68, 57.86)
CIE-LCHlch(59.31, 63.30, 113.93°)
OKLaboklab(64.05% -0.0764 0.1255)
OKLCHoklch(64.05% 0.147 121.3)
XYZxyz(20.3089, 27.3604, 5.0752)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9918 #321899
analogous
#997318 #7F9918 #3F9918
triadic
#7F9918 #187F99 #99187F
tetradic
#7F9918 #189973 #321899 #99183F
square
#7F9918 #189973 #321899 #99183F
split-complementary
#7F9918 #183F99 #731899
monochromatic
#272F07 #536410 #7F9918 #ABCE20 #C4E249

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F9918#FFFFFF#000000##000000
##7F99181.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)
#879182
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f9918;
/* rgb */ color: rgb(127, 153, 24);
/* oklch */ color: oklch(64.0% 0.147 121.3);
Tailwind
colors: {
  custom: {
    50: '#a8b763',
    500: '#7f9918',
    950: '#000000',
  },
}
SCSS
$custom: #7f9918;
$custom-light: #a8b763;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9918",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 24
  },
  "hsl": {
    "h": 72.093,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64047,
    "c": 0.14694,
    "h": 121.3
  },
  "luminance": 0.2736
}

Semantic roles & 50–950 ramp

primary
#7F9918
secondary
#6249C4
accent
#38F05D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9918

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

Preview Lab → · Contrast checker → · Palette generator →

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