#78732D#78732D

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

Color values

HEX#78732D
RGBrgb(120, 115, 45)
HSLhsl(56, 45%, 32%)
HSVhsv(56, 63%, 47%)
CMYKcmyk(0%, 4.2%, 62.5%, 52.9%)
CIE-LABlab(47.55, -7.69, 38.43)
CIE-LCHlch(47.55, 39.19, 101.31°)
OKLaboklab(54.52% -0.024 0.0882)
OKLCHoklch(54.52% 0.091 105.2)
XYZxyz(14.3506, 16.4445, 4.9003)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78732D #2D3278
analogous
#784E2D #78732D #58782D
triadic
#78732D #2D7873 #732D78
tetradic
#78732D #2D784E #2D3278 #782D58
square
#78732D #2D784E #2D3278 #782D58
split-complementary
#78732D #2D5878 #4E2D78
monochromatic
#1F1E0C #4B481C #78732D #A59E3E #C2BC5D

Accessibility & contrast

On white

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

On black

4.29
#78732D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##78732D#FFFFFF#000000##FFFFFF
##78732D1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F25
Deuteranopia (green-blind)
#7F7231
Tritanopia (blue-blind)
#816C64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #78732d;
/* rgb */ color: rgb(120, 115, 45);
/* oklch */ color: oklch(54.5% 0.091 105.2);
Tailwind
colors: {
  custom: {
    50: '#a19b69',
    500: '#78732d',
    950: '#000000',
  },
}
SCSS
$custom: #78732d;
$custom-light: #a19b69;
$custom-dark: #000000;
JSON
{
  "hex": "#78732d",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 45
  },
  "hsl": {
    "h": 56,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54521,
    "c": 0.09143,
    "h": 105.2
  },
  "luminance": 0.16444
}

Semantic roles & 50–950 ramp

primary
#78732D
secondary
#585DA9
accent
#5BD553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #78732D

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

Preview Lab → · Contrast checker → · Palette generator →

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