#70771A#70771A

#70771A is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.6% C 0.112 H 113.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#70771A
RGBrgb(112, 119, 26)
HSLhsl(65, 64%, 28%)
HSVhsv(65, 78%, 47%)
CMYKcmyk(5.9%, 0%, 78.2%, 53.3%)
CIE-LABlab(47.90, -14.76, 46.61)
CIE-LCHlch(47.90, 48.89, 107.57°)
OKLaboklab(54.58% -0.0454 0.1025)
OKLCHoklch(54.58% 0.112 113.9)
XYZxyz(13.4658, 16.7133, 3.4937)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70771A #211A77
analogous
#774F1A #70771A #41771A
triadic
#70771A #1A7077 #771A70
tetradic
#70771A #1A774F #211A77 #771A41
square
#70771A #1A774F #211A77 #771A41
split-complementary
#70771A #1A4177 #4F1A77
monochromatic
#181905 #41450F #70771A #9FA925 #C8D338

Accessibility & contrast

On white

4.84
#70771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#70771A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #70771A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70771A#FFFFFF#000000##FFFFFF
##70771A1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807104
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#787065
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #70771a;
/* rgb */ color: rgb(112, 119, 26);
/* oklch */ color: oklch(54.6% 0.112 113.9);
Tailwind
colors: {
  custom: {
    50: '#9c9e5f',
    500: '#70771a',
    950: '#000000',
  },
}
SCSS
$custom: #70771a;
$custom-light: #9c9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#70771a",
  "rgb": {
    "r": 112,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 64.516,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54578,
    "c": 0.11207,
    "h": 113.9
  },
  "luminance": 0.16713
}

Semantic roles & 50–950 ramp

primary
#70771A
secondary
#4941AC
accent
#41E74D
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #70771A

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

Preview Lab → · Contrast checker → · Palette generator →

#70771A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva