#70771B#70771B

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

Color values

HEX#70771B
RGBrgb(112, 119, 27)
HSLhsl(65, 63%, 29%)
HSVhsv(65, 77%, 47%)
CMYKcmyk(5.9%, 0%, 77.3%, 53.3%)
CIE-LABlab(47.90, -14.71, 46.26)
CIE-LCHlch(47.90, 48.55, 107.64°)
OKLaboklab(54.58% -0.0452 0.1019)
OKLCHoklch(54.58% 0.111 113.9)
XYZxyz(13.4772, 16.7178, 3.5536)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70771B #221B77
analogous
#77501B #70771B #42771B
triadic
#70771B #1B7077 #771B70
tetradic
#70771B #1B7750 #221B77 #771B42
square
#70771B #1B7750 #221B77 #771B42
split-complementary
#70771B #1B4277 #501B77
monochromatic
#171906 #414510 #70771B #9FA926 #C7D23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70771B#FFFFFF#000000##FFFFFF
##70771B1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807107
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#787066
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #70771b;
/* rgb */ color: rgb(112, 119, 27);
/* oklch */ color: oklch(54.6% 0.111 113.9);
Tailwind
colors: {
  custom: {
    50: '#9c9e5f',
    500: '#70771b',
    950: '#000000',
  },
}
SCSS
$custom: #70771b;
$custom-light: #9c9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#70771b",
  "rgb": {
    "r": 112,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 64.565,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.11148,
    "h": 113.9
  },
  "luminance": 0.16718
}

Semantic roles & 50–950 ramp

primary
#70771B
secondary
#4A42AB
accent
#42E64E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #70771B

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

Preview Lab → · Contrast checker → · Palette generator →

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