#78732A#78732A

#78732A is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.5% C 0.094 H 105.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#78732A
RGBrgb(120, 115, 42)
HSLhsl(56, 48%, 32%)
HSVhsv(56, 65%, 47%)
CMYKcmyk(0%, 4.2%, 65%, 52.9%)
CIE-LABlab(47.52, -7.91, 39.83)
CIE-LCHlch(47.52, 40.61, 101.23°)
OKLaboklab(54.49% -0.025 0.0907)
OKLCHoklch(54.49% 0.094 105.4)
XYZxyz(14.2949, 16.4222, 4.6068)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78732A #2A2F78
analogous
#784C2A #78732A #56782A
triadic
#78732A #2A7873 #732A78
tetradic
#78732A #2A784C #2A2F78 #782A56
square
#78732A #2A784C #2A2F78 #782A56
split-complementary
#78732A #2A5678 #4C2A78
monochromatic
#1D1C0A #4B481A #78732A #A59E3A #C5BE58

Accessibility & contrast

On white

4.90
#78732A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#78732A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78732A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78732A#FFFFFF#000000##FFFFFF
##78732A1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F21
Deuteranopia (green-blind)
#7F722E
Tritanopia (blue-blind)
#816B64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #78732a;
/* rgb */ color: rgb(120, 115, 42);
/* oklch */ color: oklch(54.5% 0.094 105.4);
Tailwind
colors: {
  custom: {
    50: '#a19b67',
    500: '#78732a',
    950: '#000000',
  },
}
SCSS
$custom: #78732a;
$custom-light: #a19b67;
$custom-dark: #000000;
JSON
{
  "hex": "#78732a",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 42
  },
  "hsl": {
    "h": 56.154,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54489,
    "c": 0.09411,
    "h": 105.4
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#78732A
secondary
#545AAA
accent
#59D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #78732A

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

Preview Lab → · Contrast checker → · Palette generator →

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