#78741F#78741F

#78741F 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.86:1 contrast (WCAG AA passes).

Color values

HEX#78741F
RGBrgb(120, 116, 31)
HSLhsl(57, 59%, 30%)
HSVhsv(57, 74%, 47%)
CMYKcmyk(0%, 3.3%, 74.2%, 52.9%)
CIE-LABlab(47.73, -9.15, 44.83)
CIE-LCHlch(47.73, 45.75, 101.53°)
OKLaboklab(54.63% -0.0297 0.0993)
OKLCHoklch(54.63% 0.104 106.7)
XYZxyz(14.2390, 16.5833, 3.7469)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78741F #1F2378
analogous
#78471F #78741F #50781F
triadic
#78741F #1F7874 #741F78
tetradic
#78741F #1F7847 #1F2378 #781F50
square
#78741F #1F7847 #1F2378 #781F50
split-complementary
#78741F #1F5078 #471F78
monochromatic
#181806 #474512 #78741F #A9A32C #CEC843

Accessibility & contrast

On white

4.86
#78741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #78741F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78741F#FFFFFF#000000##FFFFFF
##78741F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78741f;
/* rgb */ color: rgb(120, 116, 31);
/* oklch */ color: oklch(54.6% 0.104 106.7);
Tailwind
colors: {
  custom: {
    50: '#a29b61',
    500: '#78741f',
    950: '#000000',
  },
}
SCSS
$custom: #78741f;
$custom-light: #a29b61;
$custom-dark: #000000;
JSON
{
  "hex": "#78741f",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 57.303,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.1037,
    "h": 106.7
  },
  "luminance": 0.16583
}

Semantic roles & 50–950 ramp

primary
#78741F
secondary
#474CAB
accent
#4DE246
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78741F

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

Preview Lab → · Contrast checker → · Palette generator →

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