#78752D#78752D

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

Color values

HEX#78752D
RGBrgb(120, 117, 45)
HSLhsl(58, 45%, 32%)
HSVhsv(58, 63%, 47%)
CMYKcmyk(0%, 2.5%, 62.5%, 52.9%)
CIE-LABlab(48.14, -8.81, 39.08)
CIE-LCHlch(48.14, 40.06, 102.70°)
OKLaboklab(54.99% -0.0272 0.0896)
OKLCHoklch(54.99% 0.094 106.9)
XYZxyz(14.5811, 16.9056, 4.9771)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78752D #2D3078
analogous
#78502D #78752D #56782D
triadic
#78752D #2D7875 #752D78
tetradic
#78752D #2D7850 #2D3078 #782D56
square
#78752D #2D7850 #2D3078 #782D56
split-complementary
#78752D #2D5678 #502D78
monochromatic
#1F1E0C #4B4A1C #78752D #A5A03E #C2BE5D

Accessibility & contrast

On white

4.79
#78752D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #78752D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78752D#FFFFFF#000000##FFFFFF
##78752D1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7125
Deuteranopia (green-blind)
#807431
Tritanopia (blue-blind)
#806E66
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #78752d;
/* rgb */ color: rgb(120, 117, 45);
/* oklch */ color: oklch(55.0% 0.094 106.9);
Tailwind
colors: {
  custom: {
    50: '#a19c69',
    500: '#78752d',
    950: '#000000',
  },
}
SCSS
$custom: #78752d;
$custom-light: #a19c69;
$custom-dark: #000000;
JSON
{
  "hex": "#78752d",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 45
  },
  "hsl": {
    "h": 57.6,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5499,
    "c": 0.09363,
    "h": 106.9
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#78752D
secondary
#585BA9
accent
#58D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #78752D

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

Preview Lab → · Contrast checker → · Palette generator →

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