#78731E#78731E

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

Color values

HEX#78731E
RGBrgb(120, 115, 30)
HSLhsl(57, 60%, 29%)
HSVhsv(57, 75%, 47%)
CMYKcmyk(0%, 4.2%, 75%, 52.9%)
CIE-LABlab(47.43, -8.64, 44.93)
CIE-LCHlch(47.43, 45.75, 100.89°)
OKLaboklab(54.38% -0.0284 0.0994)
OKLCHoklch(54.38% 0.103 106)
XYZxyz(14.1114, 16.3488, 3.6404)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78731E #1E2378
analogous
#78461E #78731E #50781E
triadic
#78731E #1E7873 #731E78
tetradic
#78731E #1E7846 #1E2378 #781E50
square
#78731E #1E7846 #1E2378 #781E50
split-complementary
#78731E #1E5078 #461E78
monochromatic
#181706 #474412 #78731E #A9A22A #CFC841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78731E#FFFFFF#000000##FFFFFF
##78731E1.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)
#7D6F0F
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#816B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #78731e;
/* rgb */ color: rgb(120, 115, 30);
/* oklch */ color: oklch(54.4% 0.103 106.0);
Tailwind
colors: {
  custom: {
    50: '#a29b60',
    500: '#78731e',
    950: '#000000',
  },
}
SCSS
$custom: #78731e;
$custom-light: #a29b60;
$custom-dark: #000000;
JSON
{
  "hex": "#78731e",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 56.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54383,
    "c": 0.10335,
    "h": 106
  },
  "luminance": 0.16348
}

Semantic roles & 50–950 ramp

primary
#78731E
secondary
#464CAC
accent
#4DE345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78731E

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

Preview Lab → · Contrast checker → · Palette generator →

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