#78842E#78842E

#78842E is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.111 H 116.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#78842E
RGBrgb(120, 132, 46)
HSLhsl(68, 48%, 35%)
HSVhsv(68, 65%, 52%)
CMYKcmyk(9.1%, 0%, 65.2%, 48.2%)
CIE-LABlab(52.61, -16.87, 43.44)
CIE-LCHlch(52.61, 46.60, 111.23°)
OKLaboklab(58.57% -0.0498 0.099)
OKLCHoklch(58.57% 0.111 116.7)
XYZxyz(16.4905, 20.6931, 5.7097)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78842E #3A2E84
analogous
#84652E #78842E #4D842E
triadic
#78842E #2E7884 #842E78
tetradic
#78842E #2E8465 #3A2E84 #842E4D
square
#78842E #2E8465 #3A2E84 #842E4D
split-complementary
#78842E #2E4D84 #652E84
monochromatic
#25290E #4F571E #78842E #A1B13E #BBC964

Accessibility & contrast

On white

4.09
#78842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#78842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78842E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78842E#FFFFFF#000000##000000
##78842E1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78842e;
/* rgb */ color: rgb(120, 132, 46);
/* oklch */ color: oklch(58.6% 0.111 116.7);
Tailwind
colors: {
  custom: {
    50: '#a1a76b',
    500: '#78842e',
    950: '#000000',
  },
}
SCSS
$custom: #78842e;
$custom-light: #a1a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#78842e",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 68.372,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58567,
    "c": 0.11079,
    "h": 116.7
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#78842E
secondary
#6A5EB0
accent
#50D863
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #78842E

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

Preview Lab → · Contrast checker → · Palette generator →

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