#78641F#78641F

#78641F is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.9% C 0.090 H 92.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#78641F
RGBrgb(120, 100, 31)
HSLhsl(47, 59%, 30%)
HSVhsv(47, 74%, 47%)
CMYKcmyk(0%, 16.7%, 74.2%, 52.9%)
CIE-LABlab(43.07, -0.01, 40.23)
CIE-LCHlch(43.07, 40.23, 90.02°)
OKLaboklab(50.93% -0.0038 0.0896)
OKLCHoklch(50.93% 0.09 92.4)
XYZxyz(12.5509, 13.2071, 3.1842)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78641F #1F3378
analogous
#78381F #78641F #60781F
triadic
#78641F #1F7864 #641F78
tetradic
#78641F #1F7838 #1F3378 #781F60
square
#78641F #1F7838 #1F3378 #781F60
split-complementary
#78641F #1F6078 #381F78
monochromatic
#181406 #473B12 #78641F #A98D2C #CEAF43

Accessibility & contrast

On white

5.77
#78641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#78641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78641F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78641F#FFFFFF#000000##FFFFFF
##78641F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6215
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#825C56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #78641f;
/* rgb */ color: rgb(120, 100, 31);
/* oklch */ color: oklch(50.9% 0.090 92.4);
Tailwind
colors: {
  custom: {
    50: '#a28f5f',
    500: '#78641f',
    950: '#000000',
  },
}
SCSS
$custom: #78641f;
$custom-light: #a28f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#78641f",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 46.517,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50931,
    "c": 0.0897,
    "h": 92.4
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

primary
#78641F
secondary
#475EAB
accent
#69E246
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #78641F

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

Preview Lab → · Contrast checker → · Palette generator →

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