#79842D#79842D

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

Color values

HEX#79842D
RGBrgb(121, 132, 45)
HSLhsl(68, 49%, 35%)
HSVhsv(68, 66%, 52%)
CMYKcmyk(8.3%, 0%, 65.9%, 48.2%)
CIE-LABlab(52.68, -16.50, 43.98)
CIE-LCHlch(52.68, 46.98, 110.57°)
OKLaboklab(58.64% -0.0489 0.1)
OKLCHoklch(58.64% 0.111 116.1)
XYZxyz(16.6104, 20.7572, 5.6136)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79842D #382D84
analogous
#84642D #79842D #4E842D
triadic
#79842D #2D7984 #842D79
tetradic
#79842D #2D8464 #382D84 #842D4E
square
#79842D #2D8464 #382D84 #842D4E
split-complementary
#79842D #2D4E84 #642D84
monochromatic
#25290E #4F561D #79842D #A3B23D #BCC962

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79842D#FFFFFF#000000##000000
##79842D1.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)
#8D7D22
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#807D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #79842d;
/* rgb */ color: rgb(121, 132, 45);
/* oklch */ color: oklch(58.6% 0.111 116.1);
Tailwind
colors: {
  custom: {
    50: '#a2a76b',
    500: '#79842d',
    950: '#000000',
  },
}
SCSS
$custom: #79842d;
$custom-light: #a2a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#79842d",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 67.586,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58641,
    "c": 0.11127,
    "h": 116.1
  },
  "luminance": 0.20757
}

Semantic roles & 50–950 ramp

primary
#79842D
secondary
#675DB0
accent
#4FD960
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79842D

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

Preview Lab → · Contrast checker → · Palette generator →

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