#78631F#78631F

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

Color values

HEX#78631F
RGBrgb(120, 99, 31)
HSLhsl(46, 59%, 30%)
HSVhsv(46, 74%, 47%)
CMYKcmyk(0%, 17.5%, 74.2%, 52.9%)
CIE-LABlab(42.79, 0.57, 39.95)
CIE-LCHlch(42.79, 39.95, 89.18°)
OKLaboklab(50.71% -0.0021 0.089)
OKLCHoklch(50.71% 0.089 91.4)
XYZxyz(12.4556, 13.0164, 3.1524)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78631F #1F3478
analogous
#78371F #78631F #60781F
triadic
#78631F #1F7863 #631F78
tetradic
#78631F #1F7837 #1F3478 #781F60
square
#78631F #1F7837 #1F3478 #781F60
split-complementary
#78631F #1F6078 #371F78
monochromatic
#181406 #473B12 #78631F #A98B2C #CEAE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78631F#FFFFFF#000000##FFFFFF
##78631F1.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)
#6E6215
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#825B55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #78631f;
/* rgb */ color: rgb(120, 99, 31);
/* oklch */ color: oklch(50.7% 0.089 91.4);
Tailwind
colors: {
  custom: {
    50: '#a28f5f',
    500: '#78631f',
    950: '#000000',
  },
}
SCSS
$custom: #78631f;
$custom-light: #a28f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#78631f",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 31
  },
  "hsl": {
    "h": 45.843,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.08905,
    "h": 91.4
  },
  "luminance": 0.13016
}

Semantic roles & 50–950 ramp

primary
#78631F
secondary
#475FAB
accent
#6BE246
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #78631F

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

Preview Lab → · Contrast checker → · Palette generator →

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