#70771F#70771F

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

Color values

HEX#70771F
RGBrgb(112, 119, 31)
HSLhsl(65, 59%, 29%)
HSVhsv(65, 74%, 47%)
CMYKcmyk(5.9%, 0%, 73.9%, 53.3%)
CIE-LABlab(47.93, -14.50, 44.78)
CIE-LCHlch(47.93, 47.07, 107.95°)
OKLaboklab(54.61% -0.0442 0.0995)
OKLCHoklch(54.61% 0.109 114)
XYZxyz(13.5266, 16.7376, 3.8142)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70771F #261F77
analogous
#77521F #70771F #44771F
triadic
#70771F #1F7077 #771F70
tetradic
#70771F #1F7752 #261F77 #771F44
square
#70771F #1F7752 #261F77 #771F44
split-complementary
#70771F #1F4477 #521F77
monochromatic
#171806 #424612 #70771F #9EA82C #C3CE43

Accessibility & contrast

On white

4.83
#70771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#70771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #70771F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70771F#FFFFFF#000000##FFFFFF
##70771F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710F
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#787066
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #70771f;
/* rgb */ color: rgb(112, 119, 31);
/* oklch */ color: oklch(54.6% 0.109 114.0);
Tailwind
colors: {
  custom: {
    50: '#9c9e61',
    500: '#70771f',
    950: '#000000',
  },
}
SCSS
$custom: #70771f;
$custom-light: #9c9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#70771f",
  "rgb": {
    "r": 112,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 64.773,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54612,
    "c": 0.10891,
    "h": 114
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#70771F
secondary
#4F47AB
accent
#46E252
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #70771F

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

Preview Lab → · Contrast checker → · Palette generator →

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