#79842B#79842B

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

Color values

HEX#79842B
RGBrgb(121, 132, 43)
HSLhsl(67, 51%, 34%)
HSVhsv(67, 67%, 52%)
CMYKcmyk(8.3%, 0%, 67.4%, 48.2%)
CIE-LABlab(52.67, -16.64, 44.84)
CIE-LCHlch(52.67, 47.83, 110.36°)
OKLaboklab(58.62% -0.0495 0.1015)
OKLCHoklch(58.62% 0.113 116)
XYZxyz(16.5728, 20.7421, 5.4156)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79842B #362B84
analogous
#84632B #79842B #4D842B
triadic
#79842B #2B7984 #842B79
tetradic
#79842B #2B8463 #362B84 #842B4D
square
#79842B #2B8463 #362B84 #842B4D
split-complementary
#79842B #2B4D84 #632B84
monochromatic
#24280D #4F561C #79842B #A3B23A #BDCB5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79842B#FFFFFF#000000##000000
##79842B1.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)
#8D7D1F
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#817D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #79842b;
/* rgb */ color: rgb(121, 132, 43);
/* oklch */ color: oklch(58.6% 0.113 116.0);
Tailwind
colors: {
  custom: {
    50: '#a2a769',
    500: '#79842b',
    950: '#000000',
  },
}
SCSS
$custom: #79842b;
$custom-light: #a2a769;
$custom-dark: #000000;
JSON
{
  "hex": "#79842b",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 67.416,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.11289,
    "h": 116
  },
  "luminance": 0.20742
}

Semantic roles & 50–950 ramp

primary
#79842B
secondary
#655AB1
accent
#4DDA5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79842B

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

Preview Lab → · Contrast checker → · Palette generator →

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