#78741B#78741B

#78741B is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.6% C 0.106 H 106.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#78741B
RGBrgb(120, 116, 27)
HSLhsl(57, 63%, 29%)
HSVhsv(57, 78%, 47%)
CMYKcmyk(0%, 3.3%, 77.5%, 52.9%)
CIE-LABlab(47.71, -9.35, 46.33)
CIE-LCHlch(47.71, 47.26, 101.41°)
OKLaboklab(54.6% -0.0307 0.1017)
OKLCHoklch(54.6% 0.106 106.8)
XYZxyz(14.1895, 16.5635, 3.4863)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78741B #1B1F78
analogous
#78461B #78741B #4E781B
triadic
#78741B #1B7874 #741B78
tetradic
#78741B #1B7846 #1B1F78 #781B4E
square
#78741B #1B7846 #1B1F78 #781B4E
split-complementary
#78741B #1B4E78 #461B78
monochromatic
#191806 #464410 #78741B #AAA426 #D3CC3B

Accessibility & contrast

On white

4.87
#78741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#78741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78741B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78741B#FFFFFF#000000##FFFFFF
##78741B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F08
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#816C63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #78741b;
/* rgb */ color: rgb(120, 116, 27);
/* oklch */ color: oklch(54.6% 0.106 106.8);
Tailwind
colors: {
  custom: {
    50: '#a29b5f',
    500: '#78741b',
    950: '#000000',
  },
}
SCSS
$custom: #78741b;
$custom-light: #a29b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#78741b",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 57.419,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.10626,
    "h": 106.8
  },
  "luminance": 0.16563
}

Semantic roles & 50–950 ramp

primary
#78741B
secondary
#4347AC
accent
#49E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78741B

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

Preview Lab → · Contrast checker → · Palette generator →

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