#70701F#70701F

#70701F is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.9% C 0.101 H 109.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#70701F
RGBrgb(112, 112, 31)
HSLhsl(60, 57%, 28%)
HSVhsv(60, 72%, 44%)
CMYKcmyk(0%, 0%, 72.3%, 56.1%)
CIE-LABlab(45.81, -10.66, 42.71)
CIE-LCHlch(45.81, 44.02, 104.02°)
OKLaboklab(52.92% -0.0335 0.0952)
OKLCHoklch(52.92% 0.101 109.4)
XYZxyz(12.7240, 15.1324, 3.5466)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70701F #1F1F70
analogous
#70471F #70701F #47701F
triadic
#70701F #1F7070 #701F70
tetradic
#70701F #1F7047 #1F1F70 #701F47
square
#70701F #1F7047 #1F1F70 #701F47
split-complementary
#70701F #1F4770 #471F70
monochromatic
#181807 #404012 #70701F #A0A02C #CACA3F

Accessibility & contrast

On white

5.22
#70701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#70701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #70701F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70701F#FFFFFF#000000##FFFFFF
##70701F1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B12
Deuteranopia (green-blind)
#7A6E25
Tritanopia (blue-blind)
#786960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #70701f;
/* rgb */ color: rgb(112, 112, 31);
/* oklch */ color: oklch(52.9% 0.101 109.4);
Tailwind
colors: {
  custom: {
    50: '#9c9860',
    500: '#70701f',
    950: '#000000',
  },
}
SCSS
$custom: #70701f;
$custom-light: #9c9860;
$custom-dark: #000000;
JSON
{
  "hex": "#70701f",
  "rgb": {
    "r": 112,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 60,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52922,
    "c": 0.10088,
    "h": 109.4
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#70701F
secondary
#4747A4
accent
#48E048
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #70701F

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

Preview Lab → · Contrast checker → · Palette generator →

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