#78751D#78751D

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

Color values

HEX#78751D
RGBrgb(120, 117, 29)
HSLhsl(58, 61%, 29%)
HSVhsv(58, 76%, 47%)
CMYKcmyk(0%, 2.5%, 75.8%, 52.9%)
CIE-LABlab(48.01, -9.81, 45.87)
CIE-LCHlch(48.01, 46.91, 102.07°)
OKLaboklab(54.85% -0.0318 0.1012)
OKLCHoklch(54.85% 0.106 107.4)
XYZxyz(14.3293, 16.8048, 3.6510)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78751D #1D2078
analogous
#78481D #78751D #4E781D
triadic
#78751D #1D7875 #751D78
tetradic
#78751D #1D7848 #1D2078 #781D4E
square
#78751D #1D7848 #1D2078 #781D4E
split-complementary
#78751D #1D4E78 #481D78
monochromatic
#191806 #474511 #78751D #A9A529 #D1CC3F

Accessibility & contrast

On white

4.82
#78751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #78751D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78751D#FFFFFF#000000##FFFFFF
##78751D1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78751d;
/* rgb */ color: rgb(120, 117, 29);
/* oklch */ color: oklch(54.8% 0.106 107.4);
Tailwind
colors: {
  custom: {
    50: '#a29c60',
    500: '#78751d',
    950: '#000000',
  },
}
SCSS
$custom: #78751d;
$custom-light: #a29c60;
$custom-dark: #000000;
JSON
{
  "hex": "#78751d",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 58.022,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54847,
    "c": 0.10605,
    "h": 107.4
  },
  "luminance": 0.16804
}

Semantic roles & 50–950 ramp

primary
#78751D
secondary
#4548AC
accent
#49E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78751D

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

Preview Lab → · Contrast checker → · Palette generator →

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