#70851B#70851B

#70851B is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 58.0% C 0.128 H 120.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#70851B
RGBrgb(112, 133, 27)
HSLhsl(72, 66%, 31%)
HSVhsv(72, 80%, 52%)
CMYKcmyk(15.8%, 0%, 79.7%, 47.8%)
CIE-LABlab(52.17, -22.05, 50.23)
CIE-LCHlch(52.17, 54.86, 113.70°)
OKLaboklab(58.02% -0.0655 0.1103)
OKLCHoklch(58.02% 0.128 120.7)
XYZxyz(15.2677, 20.2990, 4.1505)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70851B #301B85
analogous
#85651B #70851B #3B851B
triadic
#70851B #1B7085 #851B70
tetradic
#70851B #1B8565 #301B85 #851B3B
square
#70851B #1B8565 #301B85 #851B3B
split-complementary
#70851B #1B3B85 #651B85
monochromatic
#1A1F06 #455211 #70851B #9BB825 #BBD942

Accessibility & contrast

On white

4.15
#70851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#70851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70851B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70851B#FFFFFF#000000##000000
##70851B1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#777E71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #70851b;
/* rgb */ color: rgb(112, 133, 27);
/* oklch */ color: oklch(58.0% 0.128 120.7);
Tailwind
colors: {
  custom: {
    50: '#9ca861',
    500: '#70851b',
    950: '#000000',
  },
}
SCSS
$custom: #70851b;
$custom-light: #9ca861;
$custom-dark: #000000;
JSON
{
  "hex": "#70851b",
  "rgb": {
    "r": 112,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 71.887,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58019,
    "c": 0.12826,
    "h": 120.7
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#70851B
secondary
#5B44B8
accent
#3FE960
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #70851B

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

Preview Lab → · Contrast checker → · Palette generator →

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