#78731D#78731D

#78731D is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.104 H 106.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#78731D
RGBrgb(120, 115, 29)
HSLhsl(57, 61%, 29%)
HSVhsv(57, 76%, 47%)
CMYKcmyk(0%, 4.2%, 75.8%, 52.9%)
CIE-LABlab(47.42, -8.69, 45.31)
CIE-LCHlch(47.42, 46.14, 100.86°)
OKLaboklab(54.38% -0.0287 0.1)
OKLCHoklch(54.38% 0.104 106)
XYZxyz(14.0988, 16.3438, 3.5742)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78731D #1D2278
analogous
#78461D #78731D #50781D
triadic
#78731D #1D7873 #731D78
tetradic
#78731D #1D7846 #1D2278 #781D50
square
#78731D #1D7846 #1D2278 #781D50
split-complementary
#78731D #1D5078 #461D78
monochromatic
#191806 #474411 #78731D #A9A229 #D1C93F

Accessibility & contrast

On white

4.92
#78731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#78731D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78731D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78731D#FFFFFF#000000##FFFFFF
##78731D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F0D
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#816B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #78731d;
/* rgb */ color: rgb(120, 115, 29);
/* oklch */ color: oklch(54.4% 0.104 106.0);
Tailwind
colors: {
  custom: {
    50: '#a29b60',
    500: '#78731d',
    950: '#000000',
  },
}
SCSS
$custom: #78731d;
$custom-light: #a29b60;
$custom-dark: #000000;
JSON
{
  "hex": "#78731d",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 56.703,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54376,
    "c": 0.104,
    "h": 106
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#78731D
secondary
#454BAC
accent
#4CE444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78731D

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

Preview Lab → · Contrast checker → · Palette generator →

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