#78801F#78801F

#78801F is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.117 H 114.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#78801F
RGBrgb(120, 128, 31)
HSLhsl(65, 61%, 31%)
HSVhsv(65, 76%, 50%)
CMYKcmyk(6.3%, 0%, 75.8%, 49.8%)
CIE-LABlab(51.30, -15.68, 48.26)
CIE-LCHlch(51.30, 50.74, 108.00°)
OKLaboklab(57.48% -0.048 0.1066)
OKLCHoklch(57.48% 0.117 114.2)
XYZxyz(15.7127, 19.5306, 4.2381)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78801F #271F80
analogous
#80571F #78801F #47801F
triadic
#78801F #1F7880 #801F78
tetradic
#78801F #1F8057 #271F80 #801F47
square
#78801F #1F8057 #271F80 #801F47
split-complementary
#78801F #1F4780 #571F80
monochromatic
#1C1D07 #4A4F13 #78801F #A6B12B #C7D247

Accessibility & contrast

On white

4.28
#78801F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#78801F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78801F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78801F#FFFFFF#000000##000000
##78801F1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790B
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#80786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #78801f;
/* rgb */ color: rgb(120, 128, 31);
/* oklch */ color: oklch(57.5% 0.117 114.2);
Tailwind
colors: {
  custom: {
    50: '#a2a463',
    500: '#78801f',
    950: '#000000',
  },
}
SCSS
$custom: #78801f;
$custom-light: #a2a463;
$custom-dark: #000000;
JSON
{
  "hex": "#78801f",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 64.948,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57482,
    "c": 0.1169,
    "h": 114.2
  },
  "luminance": 0.1953
}

Semantic roles & 50–950 ramp

primary
#78801F
secondary
#5148B3
accent
#44E451
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #78801F

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

Preview Lab → · Contrast checker → · Palette generator →

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