#78711C#78711C

#78711C is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.9% C 0.103 H 104.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#78711C
RGBrgb(120, 113, 28)
HSLhsl(55, 62%, 29%)
HSVhsv(55, 77%, 47%)
CMYKcmyk(0%, 5.8%, 76.7%, 52.9%)
CIE-LABlab(46.83, -7.62, 45.13)
CIE-LCHlch(46.83, 45.77, 99.59°)
OKLaboklab(53.9% -0.0258 0.0994)
OKLCHoklch(53.9% 0.103 104.5)
XYZxyz(13.8610, 15.8877, 3.4349)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78711C #1C2378
analogous
#78431C #78711C #51781C
triadic
#78711C #1C7871 #711C78
tetradic
#78711C #1C7843 #1C2378 #781C51
square
#78711C #1C7843 #1C2378 #781C51
split-complementary
#78711C #1C5178 #431C78
monochromatic
#191706 #464210 #78711C #AAA028 #D2C63D

Accessibility & contrast

On white

5.03
#78711C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#78711C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78711C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78711C#FFFFFF#000000##FFFFFF
##78711C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0C
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#816961
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #78711c;
/* rgb */ color: rgb(120, 113, 28);
/* oklch */ color: oklch(53.9% 0.103 104.5);
Tailwind
colors: {
  custom: {
    50: '#a2995f',
    500: '#78711c',
    950: '#000000',
  },
}
SCSS
$custom: #78711c;
$custom-light: #a2995f;
$custom-dark: #000000;
JSON
{
  "hex": "#78711c",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 28
  },
  "hsl": {
    "h": 55.435,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.539,
    "c": 0.10267,
    "h": 104.5
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#78711C
secondary
#444CAC
accent
#4FE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #78711C

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

Preview Lab → · Contrast checker → · Palette generator →

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