#7A8D1D#7A8D1D

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

Color values

HEX#7A8D1D
RGBrgb(122, 141, 29)
HSLhsl(70, 66%, 33%)
HSVhsv(70, 79%, 55%)
CMYKcmyk(13.5%, 0%, 79.4%, 44.7%)
CIE-LABlab(55.36, -21.65, 52.78)
CIE-LCHlch(55.36, 57.04, 112.30°)
OKLaboklab(60.78% -0.0648 0.1157)
OKLCHoklch(60.78% 0.133 119.2)
XYZxyz(17.7731, 23.2762, 4.7186)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8D1D #301D8D
analogous
#8D681D #7A8D1D #428D1D
triadic
#7A8D1D #1D7A8D #8D1D7A
tetradic
#7A8D1D #1D8D68 #301D8D #8D1D42
square
#7A8D1D #1D8D68 #301D8D #8D1D42
split-complementary
#7A8D1D #1D428D #681D8D
monochromatic
#222708 #4E5A13 #7A8D1D #A6C027 #C2DA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8D1D#FFFFFF#000000##000000
##7A8D1D1.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)
#948528
Tritanopia (blue-blind)
#828578
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a8d1d;
/* rgb */ color: rgb(122, 141, 29);
/* oklch */ color: oklch(60.8% 0.133 119.2);
Tailwind
colors: {
  custom: {
    50: '#a4ae63',
    500: '#7a8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #7a8d1d;
$custom-light: #a4ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8d1d",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 70.179,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.13261,
    "h": 119.2
  },
  "luminance": 0.23276
}

Semantic roles & 50–950 ramp

primary
#7A8D1D
secondary
#5D4ABC
accent
#3FE95C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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