#7A8D1E#7A8D1E

#7A8D1E is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.8% C 0.132 H 119.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7A8D1E
RGBrgb(122, 141, 30)
HSLhsl(70, 65%, 34%)
HSVhsv(70, 79%, 55%)
CMYKcmyk(13.5%, 0%, 78.7%, 44.7%)
CIE-LABlab(55.36, -21.60, 52.46)
CIE-LCHlch(55.36, 56.73, 112.38°)
OKLaboklab(60.78% -0.0645 0.1152)
OKLCHoklch(60.78% 0.132 119.3)
XYZxyz(17.7856, 23.2812, 4.7848)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8D1E #311E8D
analogous
#8D681E #7A8D1E #428D1E
triadic
#7A8D1E #1E7A8D #8D1E7A
tetradic
#7A8D1E #1E8D68 #311E8D #8D1E42
square
#7A8D1E #1E8D68 #311E8D #8D1E42
split-complementary
#7A8D1E #1E428D #681E8D
monochromatic
#232809 #4E5B13 #7A8D1E #A6BF29 #C1D94C

Accessibility & contrast

On white

3.71
#7A8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#7A8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8D1E
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8D1E#FFFFFF#000000##000000
##7A8D1E1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#948529
Tritanopia (blue-blind)
#828578
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a8d1e;
/* rgb */ color: rgb(122, 141, 30);
/* oklch */ color: oklch(60.8% 0.132 119.3);
Tailwind
colors: {
  custom: {
    50: '#a4ae64',
    500: '#7a8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #7a8d1e;
$custom-light: #a4ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8d1e",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 70.27,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.13207,
    "h": 119.3
  },
  "luminance": 0.23281
}

Semantic roles & 50–950 ramp

primary
#7A8D1E
secondary
#5E4BBC
accent
#40E85D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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