#78752B#78752B

#78752B is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.0% C 0.095 H 107.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#78752B
RGBrgb(120, 117, 43)
HSLhsl(58, 47%, 32%)
HSVhsv(58, 64%, 47%)
CMYKcmyk(0%, 2.5%, 64.2%, 52.9%)
CIE-LABlab(48.12, -8.95, 40.01)
CIE-LCHlch(48.12, 41.00, 102.62°)
OKLaboklab(54.97% -0.0278 0.0913)
OKLCHoklch(54.97% 0.095 107)
XYZxyz(14.5435, 16.8905, 4.7791)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78752B #2B2E78
analogous
#784F2B #78752B #55782B
triadic
#78752B #2B7875 #752B78
tetradic
#78752B #2B784F #2B2E78 #782B55
square
#78752B #2B784F #2B2E78 #782B55
split-complementary
#78752B #2B5578 #4F2B78
monochromatic
#1E1D0B #4B491B #78752B #A5A13B #C4C05A

Accessibility & contrast

On white

4.80
#78752B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#78752B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78752B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78752B#FFFFFF#000000##FFFFFF
##78752B1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#80742F
Tritanopia (blue-blind)
#816D65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #78752b;
/* rgb */ color: rgb(120, 117, 43);
/* oklch */ color: oklch(55.0% 0.095 107.0);
Tailwind
colors: {
  custom: {
    50: '#a19c68',
    500: '#78752b',
    950: '#000000',
  },
}
SCSS
$custom: #78752b;
$custom-light: #a19c68;
$custom-dark: #000000;
JSON
{
  "hex": "#78752b",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 43
  },
  "hsl": {
    "h": 57.662,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54969,
    "c": 0.09542,
    "h": 107
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#78752B
secondary
#5559AA
accent
#56D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #78752B

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

Preview Lab → · Contrast checker → · Palette generator →

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