#70731B#70731B

#70731B is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.6% C 0.107 H 111.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#70731B
RGBrgb(112, 115, 27)
HSLhsl(62, 62%, 28%)
HSVhsv(62, 77%, 45%)
CMYKcmyk(2.6%, 0%, 76.5%, 54.9%)
CIE-LABlab(46.69, -12.54, 45.12)
CIE-LCHlch(46.69, 46.83, 105.53°)
OKLaboklab(53.62% -0.0392 0.0995)
OKLCHoklch(53.62% 0.107 111.5)
XYZxyz(13.0111, 15.7857, 3.3982)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70731B #1E1B73
analogous
#734A1B #70731B #44731B
triadic
#70731B #1B7073 #731B70
tetradic
#70731B #1B734A #1E1B73 #731B44
square
#70731B #1B734A #1E1B73 #731B44
split-complementary
#70731B #1B4473 #4A1B73
monochromatic
#181906 #40410F #70731B #A0A527 #CBD038

Accessibility & contrast

On white

5.05
#70731B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#70731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #70731B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70731B#FFFFFF#000000##FFFFFF
##70731B1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E09
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#786C62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #70731b;
/* rgb */ color: rgb(112, 115, 27);
/* oklch */ color: oklch(53.6% 0.107 111.5);
Tailwind
colors: {
  custom: {
    50: '#9c9b5f',
    500: '#70731b',
    950: '#000000',
  },
}
SCSS
$custom: #70731b;
$custom-light: #9c9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#70731b",
  "rgb": {
    "r": 112,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 62.045,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.10692,
    "h": 111.5
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#70731B
secondary
#4642A8
accent
#43E548
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #70731B

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

Preview Lab → · Contrast checker → · Palette generator →

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