#78812E#78812E

#78812E is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.107 H 115.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#78812E
RGBrgb(120, 129, 46)
HSLhsl(67, 47%, 34%)
HSVhsv(67, 64%, 51%)
CMYKcmyk(7%, 0%, 64.3%, 49.4%)
CIE-LABlab(51.71, -15.28, 42.48)
CIE-LCHlch(51.71, 45.14, 109.78°)
OKLaboklab(57.85% -0.0453 0.097)
OKLCHoklch(57.85% 0.107 115)
XYZxyz(16.0895, 19.8911, 5.5760)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78812E #372E81
analogous
#81612E #78812E #4F812E
triadic
#78812E #2E7881 #812E78
tetradic
#78812E #2E8161 #372E81 #812E4F
square
#78812E #2E8161 #372E81 #812E4F
split-complementary
#78812E #2E4F81 #612E81
monochromatic
#24270E #4E541E #78812E #A2AE3E #BCC762

Accessibility & contrast

On white

4.22
#78812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#78812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78812E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78812E#FFFFFF#000000##000000
##78812E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B24
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#807A70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #78812e;
/* rgb */ color: rgb(120, 129, 46);
/* oklch */ color: oklch(57.8% 0.107 115.0);
Tailwind
colors: {
  custom: {
    50: '#a1a56b',
    500: '#78812e',
    950: '#000000',
  },
}
SCSS
$custom: #78812e;
$custom-light: #a1a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#78812e",
  "rgb": {
    "r": 120,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 66.506,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.10702,
    "h": 115
  },
  "luminance": 0.19891
}

Semantic roles & 50–950 ramp

primary
#78812E
secondary
#665DAE
accent
#51D75F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #78812E

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

Preview Lab → · Contrast checker → · Palette generator →

#78812E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva