#7A8F16#7A8F16

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

Color values

HEX#7A8F16
RGBrgb(122, 143, 22)
HSLhsl(70, 73%, 32%)
HSVhsv(70, 85%, 56%)
CMYKcmyk(14.7%, 0%, 84.6%, 43.9%)
CIE-LABlab(55.93, -22.93, 55.32)
CIE-LCHlch(55.93, 59.88, 112.52°)
OKLaboklab(61.23% -0.0688 0.1199)
OKLCHoklch(61.23% 0.138 119.8)
XYZxyz(17.9937, 23.8405, 4.4127)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8F16 #2B168F
analogous
#8F6716 #7A8F16 #3E8F16
triadic
#7A8F16 #167A8F #8F167A
tetradic
#7A8F16 #168F67 #2B168F #8F163E
square
#7A8F16 #168F67 #2B168F #8F163E
split-complementary
#7A8F16 #163E8F #67168F
monochromatic
#1F2506 #4D5A0E #7A8F16 #A7C41E #C5E13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8F16#FFFFFF#000000##000000
##7A8F161.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: #7a8f16;
/* rgb */ color: rgb(122, 143, 22);
/* oklch */ color: oklch(61.2% 0.138 119.8);
Tailwind
colors: {
  custom: {
    50: '#a4af61',
    500: '#7a8f16',
    950: '#000000',
  },
}
SCSS
$custom: #7a8f16;
$custom-light: #a4af61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8f16",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 70.413,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61226,
    "c": 0.13823,
    "h": 119.8
  },
  "luminance": 0.2384
}

Semantic roles & 50–950 ramp

primary
#7A8F16
secondary
#563FC1
accent
#38F058
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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