#7A8E1D#7A8E1D

#7A8E1D is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 61.0% C 0.134 H 119.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7A8E1D
RGBrgb(122, 142, 29)
HSLhsl(71, 66%, 34%)
HSVhsv(71, 80%, 56%)
CMYKcmyk(14.1%, 0%, 79.6%, 44.3%)
CIE-LABlab(55.66, -22.15, 53.05)
CIE-LCHlch(55.66, 57.49, 112.67°)
OKLaboklab(61.02% -0.0661 0.1163)
OKLCHoklch(61.02% 0.134 119.6)
XYZxyz(17.9212, 23.5724, 4.7680)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8E1D #311D8E
analogous
#8E691D #7A8E1D #428E1D
triadic
#7A8E1D #1D7A8E #8E1D7A
tetradic
#7A8E1D #1D8E69 #311D8E #8E1D42
square
#7A8E1D #1D8E69 #311D8E #8E1D42
split-complementary
#7A8E1D #1D428E #691D8E
monochromatic
#232808 #4E5B13 #7A8E1D #A6C127 #C1DA4B

Accessibility & contrast

On white

3.67
#7A8E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#7A8E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8E1D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8E1D#FFFFFF#000000##000000
##7A8E1D1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#828679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a8e1d;
/* rgb */ color: rgb(122, 142, 29);
/* oklch */ color: oklch(61.0% 0.134 119.6);
Tailwind
colors: {
  custom: {
    50: '#a4af64',
    500: '#7a8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #7a8e1d;
$custom-light: #a4af64;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8e1d",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 70.619,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61018,
    "c": 0.1338,
    "h": 119.6
  },
  "luminance": 0.23572
}

Semantic roles & 50–950 ramp

primary
#7A8E1D
secondary
#5E4ABD
accent
#3FE95D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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