#78751C#78751C

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

Color values

HEX#78751C
RGBrgb(120, 117, 28)
HSLhsl(58, 62%, 29%)
HSVhsv(58, 77%, 47%)
CMYKcmyk(0%, 2.5%, 76.7%, 52.9%)
CIE-LABlab(48.01, -9.85, 46.24)
CIE-LCHlch(48.01, 47.28, 102.03°)
OKLaboklab(54.84% -0.032 0.1017)
OKLCHoklch(54.84% 0.107 107.5)
XYZxyz(14.3172, 16.8000, 3.5869)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78751C #1C1F78
analogous
#78471C #78751C #4D781C
triadic
#78751C #1C7875 #751C78
tetradic
#78751C #1C7847 #1C1F78 #781C4D
square
#78751C #1C7847 #1C1F78 #781C4D
split-complementary
#78751C #1C4D78 #471C78
monochromatic
#191806 #464510 #78751C #AAA528 #D2CD3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78751C#FFFFFF#000000##FFFFFF
##78751C1.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)
#7F700A
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#816D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #78751c;
/* rgb */ color: rgb(120, 117, 28);
/* oklch */ color: oklch(54.8% 0.107 107.5);
Tailwind
colors: {
  custom: {
    50: '#a29c60',
    500: '#78751c',
    950: '#000000',
  },
}
SCSS
$custom: #78751c;
$custom-light: #a29c60;
$custom-dark: #000000;
JSON
{
  "hex": "#78751c",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 58.043,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5484,
    "c": 0.10667,
    "h": 107.5
  },
  "luminance": 0.16799
}

Semantic roles & 50–950 ramp

primary
#78751C
secondary
#4447AC
accent
#48E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78751C

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

Preview Lab → · Contrast checker → · Palette generator →

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