#7F9618#7F9618

#7F9618 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.3% C 0.143 H 120.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7F9618
RGBrgb(127, 150, 24)
HSLhsl(71, 72%, 34%)
HSVhsv(71, 84%, 59%)
CMYKcmyk(15.3%, 0%, 84%, 41.2%)
CIE-LABlab(58.41, -24.20, 57.08)
CIE-LCHlch(58.41, 62.00, 112.97°)
OKLaboklab(63.32% -0.0724 0.1238)
OKLCHoklch(63.32% 0.143 120.3)
XYZxyz(19.8240, 26.3907, 4.9135)
Luminance0.2639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9618 #2F1896
analogous
#966E18 #7F9618 #409618
triadic
#7F9618 #187F96 #96187F
tetradic
#7F9618 #18966E #2F1896 #961840
square
#7F9618 #18966E #2F1896 #961840
split-complementary
#7F9618 #184096 #6E1896
monochromatic
#262C07 #526110 #7F9618 #ACCB20 #C5E247

Accessibility & contrast

On white

3.34
#7F9618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#7F9618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9618
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9618#FFFFFF#000000##000000
##7F96181.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9D8D26
Tritanopia (blue-blind)
#878E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f9618;
/* rgb */ color: rgb(127, 150, 24);
/* oklch */ color: oklch(63.3% 0.143 120.3);
Tailwind
colors: {
  custom: {
    50: '#a8b463',
    500: '#7f9618',
    950: '#000000',
  },
}
SCSS
$custom: #7f9618;
$custom-light: #a8b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9618",
  "rgb": {
    "r": 127,
    "g": 150,
    "b": 24
  },
  "hsl": {
    "h": 70.952,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.6332,
    "c": 0.14344,
    "h": 120.3
  },
  "luminance": 0.26391
}

Semantic roles & 50–950 ramp

primary
#7F9618
secondary
#5E47C3
accent
#39EF5A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9618

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

Preview Lab → · Contrast checker → · Palette generator →

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