#78731C#78731C

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

Color values

HEX#78731C
RGBrgb(120, 115, 28)
HSLhsl(57, 62%, 29%)
HSVhsv(57, 77%, 47%)
CMYKcmyk(0%, 4.2%, 76.7%, 52.9%)
CIE-LABlab(47.42, -8.74, 45.69)
CIE-LCHlch(47.42, 46.51, 100.83°)
OKLaboklab(54.37% -0.0289 0.1006)
OKLCHoklch(54.37% 0.105 106)
XYZxyz(14.0866, 16.3389, 3.5101)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78731C #1C2178
analogous
#78451C #78731C #4F781C
triadic
#78731C #1C7873 #731C78
tetradic
#78731C #1C7845 #1C2178 #781C4F
square
#78731C #1C7845 #1C2178 #781C4F
split-complementary
#78731C #1C4F78 #451C78
monochromatic
#191806 #464310 #78731C #AAA328 #D2CA3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78731C#FFFFFF#000000##FFFFFF
##78731C1.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)
#7D6F0B
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#816B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #78731c;
/* rgb */ color: rgb(120, 115, 28);
/* oklch */ color: oklch(54.4% 0.105 106.0);
Tailwind
colors: {
  custom: {
    50: '#a29b5f',
    500: '#78731c',
    950: '#000000',
  },
}
SCSS
$custom: #78731c;
$custom-light: #a29b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#78731c",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 56.739,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54369,
    "c": 0.10465,
    "h": 106
  },
  "luminance": 0.16338
}

Semantic roles & 50–950 ramp

primary
#78731C
secondary
#4449AC
accent
#4BE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78731C

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

Preview Lab → · Contrast checker → · Palette generator →

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