#7A8F18#7A8F18

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

Color values

HEX#7A8F18
RGBrgb(122, 143, 24)
HSLhsl(71, 71%, 33%)
HSVhsv(71, 83%, 56%)
CMYKcmyk(14.7%, 0%, 83.2%, 43.9%)
CIE-LABlab(55.94, -22.86, 54.79)
CIE-LCHlch(55.94, 59.37, 112.65°)
OKLaboklab(61.23% -0.0685 0.1191)
OKLCHoklch(61.23% 0.137 119.9)
XYZxyz(18.0138, 23.8485, 4.5182)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8F18 #2D188F
analogous
#8F6818 #7A8F18 #3F8F18
triadic
#7A8F18 #187A8F #8F187A
tetradic
#7A8F18 #188F68 #2D188F #8F183F
square
#7A8F18 #188F68 #2D188F #8F183F
split-complementary
#7A8F18 #183F8F #68188F
monochromatic
#212606 #4D5B0F #7A8F18 #A7C321 #C4DF42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8F18#FFFFFF#000000##000000
##7A8F181.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)
#968625
Tritanopia (blue-blind)
#82877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7a8f18;
/* rgb */ color: rgb(122, 143, 24);
/* oklch */ color: oklch(61.2% 0.137 119.9);
Tailwind
colors: {
  custom: {
    50: '#a4af62',
    500: '#7a8f18',
    950: '#000000',
  },
}
SCSS
$custom: #7a8f18;
$custom-light: #a4af62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8f18",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 70.588,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61235,
    "c": 0.13738,
    "h": 119.9
  },
  "luminance": 0.23848
}

Semantic roles & 50–950 ramp

primary
#7A8F18
secondary
#5943C0
accent
#3AEE5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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