#79842C#79842C

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

Color values

HEX#79842C
RGBrgb(121, 132, 44)
HSLhsl(68, 50%, 35%)
HSVhsv(68, 67%, 52%)
CMYKcmyk(8.3%, 0%, 66.7%, 48.2%)
CIE-LABlab(52.67, -16.57, 44.41)
CIE-LCHlch(52.67, 47.40, 110.46°)
OKLaboklab(58.63% -0.0492 0.1007)
OKLCHoklch(58.63% 0.112 116)
XYZxyz(16.5914, 20.7496, 5.5134)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79842C #372C84
analogous
#84632C #79842C #4D842C
triadic
#79842C #2C7984 #842C79
tetradic
#79842C #2C8463 #372C84 #842C4D
square
#79842C #2C8463 #372C84 #842C4D
split-complementary
#79842C #2C4D84 #632C84
monochromatic
#25280D #4F561D #79842C #A3B23B #BDCA60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79842C#FFFFFF#000000##000000
##79842C1.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)
#8D7D20
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#817D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #79842c;
/* rgb */ color: rgb(121, 132, 44);
/* oklch */ color: oklch(58.6% 0.112 116.0);
Tailwind
colors: {
  custom: {
    50: '#a2a76a',
    500: '#79842c',
    950: '#000000',
  },
}
SCSS
$custom: #79842c;
$custom-light: #a2a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#79842c",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 67.5,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58632,
    "c": 0.11209,
    "h": 116
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#79842C
secondary
#665CB0
accent
#4EDA60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79842C

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

Preview Lab → · Contrast checker → · Palette generator →

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