#7A8F1D#7A8F1D

#7A8F1D is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 61.3% C 0.135 H 120.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7A8F1D
RGBrgb(122, 143, 29)
HSLhsl(71, 66%, 34%)
HSVhsv(71, 80%, 56%)
CMYKcmyk(14.7%, 0%, 79.7%, 43.9%)
CIE-LABlab(55.96, -22.66, 53.33)
CIE-LCHlch(55.96, 57.94, 113.02°)
OKLaboklab(61.26% -0.0675 0.1169)
OKLCHoklch(61.26% 0.135 120)
XYZxyz(18.0706, 23.8713, 4.8178)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8F1D #321D8F
analogous
#8F6B1D #7A8F1D #418F1D
triadic
#7A8F1D #1D7A8F #8F1D7A
tetradic
#7A8F1D #1D8F6B #321D8F #8F1D41
square
#7A8F1D #1D8F6B #321D8F #8F1D41
split-complementary
#7A8F1D #1D418F #6B1D8F
monochromatic
#232908 #4F5C13 #7A8F1D #A5C227 #C0DB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8F1D#FFFFFF#000000##000000
##7A8F1D1.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)
#988600
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#81877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7a8f1d;
/* rgb */ color: rgb(122, 143, 29);
/* oklch */ color: oklch(61.3% 0.135 120.0);
Tailwind
colors: {
  custom: {
    50: '#a4af64',
    500: '#7a8f1d',
    950: '#000000',
  },
}
SCSS
$custom: #7a8f1d;
$custom-light: #a4af64;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8f1d",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 71.053,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61261,
    "c": 0.13499,
    "h": 120
  },
  "luminance": 0.23871
}

Semantic roles & 50–950 ramp

primary
#7A8F1D
secondary
#604BBD
accent
#3FE95E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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