#79842F#79842F

#79842F is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.110 H 116.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#79842F
RGBrgb(121, 132, 47)
HSLhsl(68, 47%, 35%)
HSVhsv(68, 64%, 52%)
CMYKcmyk(8.3%, 0%, 64.4%, 48.2%)
CIE-LABlab(52.70, -16.36, 43.10)
CIE-LCHlch(52.70, 46.10, 110.78°)
OKLaboklab(58.66% -0.0483 0.0984)
OKLCHoklch(58.66% 0.11 116.1)
XYZxyz(16.6499, 20.7729, 5.8212)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79842F #3A2F84
analogous
#84652F #79842F #4E842F
triadic
#79842F #2F7984 #842F79
tetradic
#79842F #2F8465 #3A2F84 #842F4E
square
#79842F #2F8465 #3A2F84 #842F4E
split-complementary
#79842F #2F4E84 #652F84
monochromatic
#262A0F #50571F #79842F #A2B13F #BBC865

Accessibility & contrast

On white

4.07
#79842F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#79842F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79842F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79842F#FFFFFF#000000##000000
##79842F1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D24
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#807D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #79842f;
/* rgb */ color: rgb(121, 132, 47);
/* oklch */ color: oklch(58.7% 0.110 116.1);
Tailwind
colors: {
  custom: {
    50: '#a2a76c',
    500: '#79842f',
    950: '#000000',
  },
}
SCSS
$custom: #79842f;
$custom-light: #a2a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#79842f",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 67.765,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58661,
    "c": 0.10961,
    "h": 116.1
  },
  "luminance": 0.20773
}

Semantic roles & 50–950 ramp

primary
#79842F
secondary
#6A60AF
accent
#51D762
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79842F

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

Preview Lab → · Contrast checker → · Palette generator →

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