#7A873F#7A873F

#7A873F is a mid, moderate yellow-green. Relative luminance 0.218; OKLCH L 59.6% C 0.098 H 118.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7A873F
RGBrgb(122, 135, 63)
HSLhsl(71, 36%, 39%)
HSVhsv(71, 53%, 53%)
CMYKcmyk(9.6%, 0%, 53.3%, 47.1%)
CIE-LABlab(53.84, -16.11, 36.69)
CIE-LCHlch(53.84, 40.07, 113.71°)
OKLaboklab(59.65% -0.046 0.0866)
OKLCHoklch(59.65% 0.098 118)
XYZxyz(17.5874, 21.8245, 7.9877)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A873F #4C3F87
analogous
#87703F #7A873F #56873F
triadic
#7A873F #3F7A87 #873F7A
tetradic
#7A873F #3F8770 #4C3F87 #873F56
square
#7A873F #3F8770 #4C3F87 #873F56
split-complementary
#7A873F #3F5687 #703F87
monochromatic
#2F3418 #545D2C #7A873F #9FAF54 #B6C37E

Accessibility & contrast

On white

3.91
#7A873F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7A873F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A873F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A873F#FFFFFF#000000##000000
##7A873F1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8138
Deuteranopia (green-blind)
#8E8143
Tritanopia (blue-blind)
#808077
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a873f;
/* rgb */ color: rgb(122, 135, 63);
/* oklch */ color: oklch(59.6% 0.098 118.0);
Tailwind
colors: {
  custom: {
    50: '#a2aa76',
    500: '#7a873f',
    950: '#000000',
  },
}
SCSS
$custom: #7a873f;
$custom-light: #a2aa76;
$custom-dark: #000000;
JSON
{
  "hex": "#7a873f",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 70.833,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.09804,
    "h": 118
  },
  "luminance": 0.21824
}

Semantic roles & 50–950 ramp

primary
#7A873F
secondary
#7F75AD
accent
#5BCC70
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7A873F

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

Preview Lab → · Contrast checker → · Palette generator →

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