#70731F#70731F

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

Color values

HEX#70731F
RGBrgb(112, 115, 31)
HSLhsl(62, 58%, 29%)
HSVhsv(62, 73%, 45%)
CMYKcmyk(2.6%, 0%, 73%, 54.9%)
CIE-LABlab(46.72, -12.32, 43.60)
CIE-LCHlch(46.72, 45.30, 105.78°)
OKLaboklab(53.64% -0.0382 0.097)
OKLCHoklch(53.64% 0.104 111.5)
XYZxyz(13.0606, 15.8055, 3.6588)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70731F #221F73
analogous
#734C1F #70731F #46731F
triadic
#70731F #1F7073 #731F70
tetradic
#70731F #1F734C #221F73 #731F46
square
#70731F #1F734C #221F73 #731F46
split-complementary
#70731F #1F4673 #4C1F73
monochromatic
#171806 #414312 #70731F #9FA32C #C7CC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70731F#FFFFFF#000000##FFFFFF
##70731F1.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)
#7C6E11
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#786C63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #70731f;
/* rgb */ color: rgb(112, 115, 31);
/* oklch */ color: oklch(53.6% 0.104 111.5);
Tailwind
colors: {
  custom: {
    50: '#9c9b61',
    500: '#70731f',
    950: '#000000',
  },
}
SCSS
$custom: #70731f;
$custom-light: #9c9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#70731f",
  "rgb": {
    "r": 112,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 62.143,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53644,
    "c": 0.10426,
    "h": 111.5
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#70731F
secondary
#4A47A7
accent
#47E14D
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #70731F

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

Preview Lab → · Contrast checker → · Palette generator →

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