#7F9417#7F9417

#7F9417 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.8% C 0.142 H 119.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7F9417
RGBrgb(127, 148, 23)
HSLhsl(70, 73%, 34%)
HSVhsv(70, 84%, 58%)
CMYKcmyk(14.2%, 0%, 84.5%, 42%)
CIE-LABlab(57.80, -23.23, 56.82)
CIE-LCHlch(57.80, 61.38, 112.24°)
OKLaboklab(62.83% -0.0698 0.1231)
OKLCHoklch(62.83% 0.142 119.6)
XYZxyz(19.4974, 25.7538, 4.7543)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9417 #2C1794
analogous
#946A17 #7F9417 #409417
triadic
#7F9417 #177F94 #94177F
tetradic
#7F9417 #17946A #2C1794 #941740
square
#7F9417 #17946A #2C1794 #941740
split-complementary
#7F9417 #174094 #6A1794
monochromatic
#242A07 #525F0F #7F9417 #ACC91F #C7E244

Accessibility & contrast

On white

3.41
#7F9417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#7F9417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9417
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9417#FFFFFF#000000##000000
##7F94171.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9C8B25
Tritanopia (blue-blind)
#878C7E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f9417;
/* rgb */ color: rgb(127, 148, 23);
/* oklch */ color: oklch(62.8% 0.142 119.6);
Tailwind
colors: {
  custom: {
    50: '#a8b362',
    500: '#7f9417',
    950: '#000000',
  },
}
SCSS
$custom: #7f9417;
$custom-light: #a8b362;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9417",
  "rgb": {
    "r": 127,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 70.08,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62832,
    "c": 0.14153,
    "h": 119.6
  },
  "luminance": 0.25754
}

Semantic roles & 50–950 ramp

primary
#7F9417
secondary
#5944C3
accent
#38F057
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9417

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

Preview Lab → · Contrast checker → · Palette generator →

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