#78801B#78801B

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

Color values

HEX#78801B
RGBrgb(120, 128, 27)
HSLhsl(65, 65%, 30%)
HSVhsv(65, 79%, 50%)
CMYKcmyk(6.3%, 0%, 78.9%, 49.8%)
CIE-LABlab(51.28, -15.87, 49.64)
CIE-LCHlch(51.28, 52.11, 107.73°)
OKLaboklab(57.46% -0.0489 0.1088)
OKLCHoklch(57.46% 0.119 114.2)
XYZxyz(15.6632, 19.5109, 3.9776)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78801B #231B80
analogous
#80551B #78801B #46801B
triadic
#78801B #1B7880 #801B78
tetradic
#78801B #1B8055 #231B80 #801B46
square
#78801B #1B8055 #231B80 #801B46
split-complementary
#78801B #1B4680 #551B80
monochromatic
#191B06 #494D10 #78801B #A7B326 #CAD63F

Accessibility & contrast

On white

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

On black

4.90
#78801B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78801B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78801B#FFFFFF#000000##000000
##78801B1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7901
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#80786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #78801b;
/* rgb */ color: rgb(120, 128, 27);
/* oklch */ color: oklch(57.5% 0.119 114.2);
Tailwind
colors: {
  custom: {
    50: '#a2a461',
    500: '#78801b',
    950: '#000000',
  },
}
SCSS
$custom: #78801b;
$custom-light: #a2a461;
$custom-dark: #000000;
JSON
{
  "hex": "#78801b",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 64.752,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.11924,
    "h": 114.2
  },
  "luminance": 0.19511
}

Semantic roles & 50–950 ramp

primary
#78801B
secondary
#4C43B4
accent
#40E84D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #78801B

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

Preview Lab → · Contrast checker → · Palette generator →

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