#78671B#78671B

#78671B is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.6% C 0.095 H 96.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#78671B
RGBrgb(120, 103, 27)
HSLhsl(49, 63%, 29%)
HSVhsv(49, 78%, 47%)
CMYKcmyk(0%, 14.2%, 77.5%, 52.9%)
CIE-LABlab(43.91, -1.97, 42.74)
CIE-LCHlch(43.91, 42.78, 92.63°)
OKLaboklab(51.58% -0.0099 0.0941)
OKLCHoklch(51.58% 0.095 96)
XYZxyz(12.7945, 13.7734, 3.0213)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78671B #1B2C78
analogous
#78391B #78671B #5B781B
triadic
#78671B #1B7867 #671B78
tetradic
#78671B #1B7839 #1B2C78 #781B5B
square
#78671B #1B7839 #1B2C78 #781B5B
split-complementary
#78671B #1B5B78 #391B78
monochromatic
#191506 #463C10 #78671B #AA9226 #D3B73B

Accessibility & contrast

On white

5.59
#78671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#78671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78671B
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78671B#FFFFFF#000000##FFFFFF
##78671B1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650E
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#825E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #78671b;
/* rgb */ color: rgb(120, 103, 27);
/* oklch */ color: oklch(51.6% 0.095 96.0);
Tailwind
colors: {
  custom: {
    50: '#a2925d',
    500: '#78671b',
    950: '#000000',
  },
}
SCSS
$custom: #78671b;
$custom-light: #a2925d;
$custom-dark: #000000;
JSON
{
  "hex": "#78671b",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 49.032,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.09462,
    "h": 96
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#78671B
secondary
#4356AC
accent
#60E641
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #78671B

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

Preview Lab → · Contrast checker → · Palette generator →

#78671B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva