#79842E#79842E

#79842E 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#79842E
RGBrgb(121, 132, 46)
HSLhsl(68, 48%, 35%)
HSVhsv(68, 65%, 52%)
CMYKcmyk(8.3%, 0%, 65.2%, 48.2%)
CIE-LABlab(52.69, -16.43, 43.55)
CIE-LCHlch(52.69, 46.54, 110.67°)
OKLaboklab(58.65% -0.0486 0.0992)
OKLCHoklch(58.65% 0.11 116.1)
XYZxyz(16.6299, 20.7650, 5.7162)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79842E #392E84
analogous
#84642E #79842E #4E842E
triadic
#79842E #2E7984 #842E79
tetradic
#79842E #2E8464 #392E84 #842E4E
square
#79842E #2E8464 #392E84 #842E4E
split-complementary
#79842E #2E4E84 #642E84
monochromatic
#26290E #4F571E #79842E #A3B13E #BCC964

Accessibility & contrast

On white

4.08
#79842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##79842E#FFFFFF#000000##000000
##79842E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79842e;
/* rgb */ color: rgb(121, 132, 46);
/* oklch */ color: oklch(58.7% 0.110 116.1);
Tailwind
colors: {
  custom: {
    50: '#a2a76b',
    500: '#79842e',
    950: '#000000',
  },
}
SCSS
$custom: #79842e;
$custom-light: #a2a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#79842e",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 67.674,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58651,
    "c": 0.11045,
    "h": 116.1
  },
  "luminance": 0.20765
}

Semantic roles & 50–950 ramp

primary
#79842E
secondary
#695EB0
accent
#50D861
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79842E

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

Preview Lab → · Contrast checker → · Palette generator →

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