#78742E#78742E

#78742E is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.092 H 106.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#78742E
RGBrgb(120, 116, 46)
HSLhsl(57, 45%, 33%)
HSVhsv(57, 62%, 47%)
CMYKcmyk(0%, 3.3%, 61.7%, 52.9%)
CIE-LABlab(47.86, -8.17, 38.28)
CIE-LCHlch(47.86, 39.14, 102.05°)
OKLaboklab(54.77% -0.0252 0.0881)
OKLCHoklch(54.77% 0.092 106)
XYZxyz(14.4847, 16.6816, 5.0411)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78742E #2E3278
analogous
#784F2E #78742E #57782E
triadic
#78742E #2E7874 #742E78
tetradic
#78742E #2E784F #2E3278 #782E57
square
#78742E #2E784F #2E3278 #782E57
split-complementary
#78742E #2E5778 #4F2E78
monochromatic
#201E0C #4C491D #78742E #A49F3F #C2BC5F

Accessibility & contrast

On white

4.84
#78742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#78742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78742E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78742E#FFFFFF#000000##FFFFFF
##78742E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7026
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#806D65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #78742e;
/* rgb */ color: rgb(120, 116, 46);
/* oklch */ color: oklch(54.8% 0.092 106.0);
Tailwind
colors: {
  custom: {
    50: '#a19b6a',
    500: '#78742e',
    950: '#000000',
  },
}
SCSS
$custom: #78742e;
$custom-light: #a19b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#78742e",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 56.757,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.09159,
    "h": 106
  },
  "luminance": 0.16681
}

Semantic roles & 50–950 ramp

primary
#78742E
secondary
#5A5EA8
accent
#5AD454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #78742E

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

Preview Lab → · Contrast checker → · Palette generator →

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