#7A8F17#7A8F17

#7A8F17 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 61.2% C 0.138 H 119.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7A8F17
RGBrgb(122, 143, 23)
HSLhsl(71, 72%, 33%)
HSVhsv(71, 84%, 56%)
CMYKcmyk(14.7%, 0%, 83.9%, 43.9%)
CIE-LABlab(55.93, -22.90, 55.05)
CIE-LCHlch(55.93, 59.63, 112.58°)
OKLaboklab(61.23% -0.0686 0.1195)
OKLCHoklch(61.23% 0.138 119.9)
XYZxyz(18.0035, 23.8444, 4.4644)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8F17 #2C178F
analogous
#8F6817 #7A8F17 #3E8F17
triadic
#7A8F17 #177A8F #8F177A
tetradic
#7A8F17 #178F68 #2C178F #8F173E
square
#7A8F17 #178F68 #2C178F #8F173E
split-complementary
#7A8F17 #173E8F #68178F
monochromatic
#202606 #4D5A0F #7A8F17 #A7C41F #C4E040

Accessibility & contrast

On white

3.64
#7A8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7A8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8F17
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8F17#FFFFFF#000000##000000
##7A8F171.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#82877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7a8f17;
/* rgb */ color: rgb(122, 143, 23);
/* oklch */ color: oklch(61.2% 0.138 119.9);
Tailwind
colors: {
  custom: {
    50: '#a4af61',
    500: '#7a8f17',
    950: '#000000',
  },
}
SCSS
$custom: #7a8f17;
$custom-light: #a4af61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8f17",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 70.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61231,
    "c": 0.13781,
    "h": 119.9
  },
  "luminance": 0.23844
}

Semantic roles & 50–950 ramp

primary
#7A8F17
secondary
#5741C1
accent
#39EF59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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