#79862F#79862F

#79862F is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.1% C 0.112 H 117.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#79862F
RGBrgb(121, 134, 47)
HSLhsl(69, 48%, 35%)
HSVhsv(69, 65%, 53%)
CMYKcmyk(9.7%, 0%, 64.9%, 47.5%)
CIE-LABlab(53.30, -17.41, 43.74)
CIE-LCHlch(53.30, 47.08, 111.70°)
OKLaboklab(59.14% -0.0512 0.0998)
OKLCHoklch(59.14% 0.112 117.2)
XYZxyz(16.9237, 21.3206, 5.9125)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79862F #3C2F86
analogous
#86682F #79862F #4D862F
triadic
#79862F #2F7986 #862F79
tetradic
#79862F #2F8668 #3C2F86 #862F4D
square
#79862F #2F8668 #3C2F86 #862F4D
split-complementary
#79862F #2F4D86 #682F86
monochromatic
#272B0F #50591F #79862F #A2B33F #BBC966

Accessibility & contrast

On white

3.99
#79862F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#79862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79862F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79862F#FFFFFF#000000##000000
##79862F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F24
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#807F74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #79862f;
/* rgb */ color: rgb(121, 134, 47);
/* oklch */ color: oklch(59.1% 0.112 117.2);
Tailwind
colors: {
  custom: {
    50: '#a2a96c',
    500: '#79862f',
    950: '#000000',
  },
}
SCSS
$custom: #79862f;
$custom-light: #a2a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#79862f",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 68.966,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59141,
    "c": 0.11215,
    "h": 117.2
  },
  "luminance": 0.2132
}

Semantic roles & 50–950 ramp

primary
#79862F
secondary
#6C60B0
accent
#50D864
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79862F

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

Preview Lab → · Contrast checker → · Palette generator →

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