#79842A#79842A

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

Color values

HEX#79842A
RGBrgb(121, 132, 42)
HSLhsl(67, 52%, 34%)
HSVhsv(67, 68%, 52%)
CMYKcmyk(8.3%, 0%, 68.2%, 48.2%)
CIE-LABlab(52.66, -16.71, 45.26)
CIE-LCHlch(52.66, 48.24, 110.26°)
OKLaboklab(58.61% -0.0498 0.1022)
OKLCHoklch(58.61% 0.114 116)
XYZxyz(16.5547, 20.7349, 5.3202)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79842A #352A84
analogous
#84622A #79842A #4C842A
triadic
#79842A #2A7984 #842A79
tetradic
#79842A #2A8462 #352A84 #842A4C
square
#79842A #2A8462 #352A84 #842A4C
split-complementary
#79842A #2A4C84 #622A84
monochromatic
#24270C #4E561B #79842A #A4B239 #BECB5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79842A#FFFFFF#000000##000000
##79842A1.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)
#8D7D1D
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#817C72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #79842a;
/* rgb */ color: rgb(121, 132, 42);
/* oklch */ color: oklch(58.6% 0.114 116.0);
Tailwind
colors: {
  custom: {
    50: '#a2a769',
    500: '#79842a',
    950: '#000000',
  },
}
SCSS
$custom: #79842a;
$custom-light: #a2a769;
$custom-dark: #000000;
JSON
{
  "hex": "#79842a",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 67.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58614,
    "c": 0.11366,
    "h": 116
  },
  "luminance": 0.20735
}

Semantic roles & 50–950 ramp

primary
#79842A
secondary
#6359B1
accent
#4DDB5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79842A

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

Preview Lab → · Contrast checker → · Palette generator →

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