#78631B#78631B

#78631B is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.7% C 0.092 H 92.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#78631B
RGBrgb(120, 99, 27)
HSLhsl(46, 63%, 29%)
HSVhsv(46, 78%, 47%)
CMYKcmyk(0%, 17.5%, 77.5%, 52.9%)
CIE-LABlab(42.76, 0.36, 41.63)
CIE-LCHlch(42.76, 41.64, 89.50°)
OKLaboklab(50.67% -0.0032 0.0918)
OKLCHoklch(50.67% 0.092 92)
XYZxyz(12.4061, 12.9966, 2.8919)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78631B #1B3078
analogous
#78351B #78631B #5F781B
triadic
#78631B #1B7863 #631B78
tetradic
#78631B #1B7835 #1B3078 #781B5F
square
#78631B #1B7835 #1B3078 #781B5F
split-complementary
#78631B #1B5F78 #351B78
monochromatic
#191506 #463A10 #78631B #AA8C26 #D3B03B

Accessibility & contrast

On white

5.83
#78631B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#78631B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78631B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78631B#FFFFFF#000000##FFFFFF
##78631B1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F610F
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#825A55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #78631b;
/* rgb */ color: rgb(120, 99, 27);
/* oklch */ color: oklch(50.7% 0.092 92.0);
Tailwind
colors: {
  custom: {
    50: '#a28f5d',
    500: '#78631b',
    950: '#000000',
  },
}
SCSS
$custom: #78631b;
$custom-light: #a28f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#78631b",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 46.452,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.09182,
    "h": 92
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#78631B
secondary
#435AAC
accent
#67E641
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #78631B

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

Preview Lab → · Contrast checker → · Palette generator →

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