#78751B#78751B

#78751B 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#78751B
RGBrgb(120, 117, 27)
HSLhsl(58, 63%, 29%)
HSVhsv(58, 78%, 47%)
CMYKcmyk(0%, 2.5%, 77.5%, 52.9%)
CIE-LABlab(48.00, -9.90, 46.60)
CIE-LCHlch(48.00, 47.64, 102.00°)
OKLaboklab(54.83% -0.0323 0.1023)
OKLCHoklch(54.83% 0.107 107.5)
XYZxyz(14.3054, 16.7953, 3.5250)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78751B #1B1E78
analogous
#78471B #78751B #4D781B
triadic
#78751B #1B7875 #751B78
tetradic
#78751B #1B7847 #1B1E78 #781B4D
square
#78751B #1B7847 #1B1E78 #781B4D
split-complementary
#78751B #1B4D78 #471B78
monochromatic
#191806 #464410 #78751B #AAA626 #D3CE3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78751B#FFFFFF#000000##FFFFFF
##78751B1.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)
#7F7007
Deuteranopia (green-blind)
#817322
Tritanopia (blue-blind)
#816D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #78751b;
/* rgb */ color: rgb(120, 117, 27);
/* oklch */ color: oklch(54.8% 0.107 107.5);
Tailwind
colors: {
  custom: {
    50: '#a29c5f',
    500: '#78751b',
    950: '#000000',
  },
}
SCSS
$custom: #78751b;
$custom-light: #a29c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#78751b",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 58.065,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.10729,
    "h": 107.5
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

primary
#78751B
secondary
#4346AC
accent
#47E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #78751B

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

Preview Lab → · Contrast checker → · Palette generator →

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