#70771C#70771C

#70771C 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#70771C
RGBrgb(112, 119, 28)
HSLhsl(65, 62%, 29%)
HSVhsv(65, 76%, 47%)
CMYKcmyk(5.9%, 0%, 76.5%, 53.3%)
CIE-LABlab(47.91, -14.66, 45.90)
CIE-LCHlch(47.91, 48.19, 107.71°)
OKLaboklab(54.59% -0.045 0.1013)
OKLCHoklch(54.59% 0.111 113.9)
XYZxyz(13.4889, 16.7225, 3.6156)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70771C #231C77
analogous
#77511C #70771C #43771C
triadic
#70771C #1C7077 #771C70
tetradic
#70771C #1C7751 #231C77 #771C43
square
#70771C #1C7751 #231C77 #771C43
split-complementary
#70771C #1C4377 #511C77
monochromatic
#171906 #414510 #70771C #9FA928 #C6D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70771C#FFFFFF#000000##FFFFFF
##70771C1.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)
#807109
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#787066
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #70771c;
/* rgb */ color: rgb(112, 119, 28);
/* oklch */ color: oklch(54.6% 0.111 113.9);
Tailwind
colors: {
  custom: {
    50: '#9c9e60',
    500: '#70771c',
    950: '#000000',
  },
}
SCSS
$custom: #70771c;
$custom-light: #9c9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#70771c",
  "rgb": {
    "r": 112,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 64.615,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54591,
    "c": 0.11086,
    "h": 113.9
  },
  "luminance": 0.16722
}

Semantic roles & 50–950 ramp

primary
#70771C
secondary
#4C44AB
accent
#43E54F
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #70771C

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

Preview Lab → · Contrast checker → · Palette generator →

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