#78751E#78751E

#78751E is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.105 H 107.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#78751E
RGBrgb(120, 117, 30)
HSLhsl(58, 60%, 29%)
HSVhsv(58, 75%, 47%)
CMYKcmyk(0%, 2.5%, 75%, 52.9%)
CIE-LABlab(48.02, -9.76, 45.50)
CIE-LCHlch(48.02, 46.53, 102.10°)
OKLaboklab(54.85% -0.0315 0.1006)
OKLCHoklch(54.85% 0.105 107.4)
XYZxyz(14.3419, 16.8099, 3.7172)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78751E #1E2178
analogous
#78481E #78751E #4E781E
triadic
#78751E #1E7875 #751E78
tetradic
#78751E #1E7848 #1E2178 #781E4E
square
#78751E #1E7848 #1E2178 #781E4E
split-complementary
#78751E #1E4E78 #481E78
monochromatic
#181806 #474512 #78751E #A9A52A #CFCB41

Accessibility & contrast

On white

4.81
#78751E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#78751E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78751E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78751E#FFFFFF#000000##FFFFFF
##78751E1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700E
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#816D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #78751e;
/* rgb */ color: rgb(120, 117, 30);
/* oklch */ color: oklch(54.9% 0.105 107.4);
Tailwind
colors: {
  custom: {
    50: '#a29c61',
    500: '#78751e',
    950: '#000000',
  },
}
SCSS
$custom: #78751e;
$custom-light: #a29c61;
$custom-dark: #000000;
JSON
{
  "hex": "#78751e",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 58,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.1054,
    "h": 107.4
  },
  "luminance": 0.16809
}

Semantic roles & 50–950 ramp

primary
#78751E
secondary
#464AAC
accent
#4AE345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78751E

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

Preview Lab → · Contrast checker → · Palette generator →

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