#79873F#79873F

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

Color values

HEX#79873F
RGBrgb(121, 135, 63)
HSLhsl(72, 36%, 39%)
HSVhsv(72, 53%, 53%)
CMYKcmyk(10.4%, 0%, 53.3%, 47.1%)
CIE-LABlab(53.76, -16.54, 36.58)
CIE-LCHlch(53.76, 40.15, 114.34°)
OKLaboklab(59.57% -0.0471 0.0864)
OKLCHoklch(59.57% 0.098 118.6)
XYZxyz(17.4465, 21.7519, 7.9811)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79873F #4D3F87
analogous
#87713F #79873F #55873F
triadic
#79873F #3F7987 #873F79
tetradic
#79873F #3F8771 #4D3F87 #873F55
square
#79873F #3F8771 #4D3F87 #873F55
split-complementary
#79873F #3F5587 #713F87
monochromatic
#2E3418 #545D2C #79873F #9DAF54 #B5C37E

Accessibility & contrast

On white

3.92
#79873F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#79873F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79873F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79873F#FFFFFF#000000##000000
##79873F1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8038
Deuteranopia (green-blind)
#8D8143
Tritanopia (blue-blind)
#7F8177
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #79873f;
/* rgb */ color: rgb(121, 135, 63);
/* oklch */ color: oklch(59.6% 0.098 118.6);
Tailwind
colors: {
  custom: {
    50: '#a1aa76',
    500: '#79873f',
    950: '#000000',
  },
}
SCSS
$custom: #79873f;
$custom-light: #a1aa76;
$custom-dark: #000000;
JSON
{
  "hex": "#79873f",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 71.667,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.09838,
    "h": 118.6
  },
  "luminance": 0.21752
}

Semantic roles & 50–950 ramp

primary
#79873F
secondary
#8075AD
accent
#5BCC71
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #79873F

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

Preview Lab → · Contrast checker → · Palette generator →

#79873F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva