#78741E#78741E

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

Color values

HEX#78741E
RGBrgb(120, 116, 30)
HSLhsl(57, 60%, 29%)
HSVhsv(57, 75%, 47%)
CMYKcmyk(0%, 3.3%, 75%, 52.9%)
CIE-LABlab(47.72, -9.20, 45.21)
CIE-LCHlch(47.72, 46.14, 101.50°)
OKLaboklab(54.62% -0.03 0.1)
OKLCHoklch(54.62% 0.104 106.7)
XYZxyz(14.2260, 16.5781, 3.6786)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78741E #1E2278
analogous
#78471E #78741E #4F781E
triadic
#78741E #1E7874 #741E78
tetradic
#78741E #1E7847 #1E2278 #781E4F
square
#78741E #1E7847 #1E2278 #781E4F
split-complementary
#78741E #1E4F78 #471E78
monochromatic
#181806 #474512 #78741E #A9A32A #CFC941

Accessibility & contrast

On white

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

On black

4.32
#78741E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##78741E#FFFFFF#000000##FFFFFF
##78741E1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78741e;
/* rgb */ color: rgb(120, 116, 30);
/* oklch */ color: oklch(54.6% 0.104 106.7);
Tailwind
colors: {
  custom: {
    50: '#a29b61',
    500: '#78741e',
    950: '#000000',
  },
}
SCSS
$custom: #78741e;
$custom-light: #a29b61;
$custom-dark: #000000;
JSON
{
  "hex": "#78741e",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 57.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54619,
    "c": 0.10436,
    "h": 106.7
  },
  "luminance": 0.16578
}

Semantic roles & 50–950 ramp

primary
#78741E
secondary
#464BAC
accent
#4CE345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78741E

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

Preview Lab → · Contrast checker → · Palette generator →

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