#70811A#70811A

#70811A is a mid, vivid yellow. Relative luminance 0.192; OKLCH L 57.0% C 0.124 H 119.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#70811A
RGBrgb(112, 129, 26)
HSLhsl(70, 66%, 30%)
HSVhsv(70, 80%, 51%)
CMYKcmyk(13.2%, 0%, 79.8%, 49.4%)
CIE-LABlab(50.94, -20.05, 49.43)
CIE-LCHlch(50.94, 53.34, 112.08°)
OKLaboklab(57.03% -0.06 0.1084)
OKLCHoklch(57.03% 0.124 119)
XYZxyz(14.7191, 19.2199, 3.9115)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70811A #2B1A81
analogous
#815E1A #70811A #3C811A
triadic
#70811A #1A7081 #811A70
tetradic
#70811A #1A815E #2B1A81 #811A3C
square
#70811A #1A815E #2B1A81 #811A3C
split-complementary
#70811A #1A3C81 #5E1A81
monochromatic
#181B05 #444E10 #70811A #9CB424 #BED83D

Accessibility & contrast

On white

4.34
#70811A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#70811A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70811A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70811A#FFFFFF#000000##000000
##70811A1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#777A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #70811a;
/* rgb */ color: rgb(112, 129, 26);
/* oklch */ color: oklch(57.0% 0.124 119.0);
Tailwind
colors: {
  custom: {
    50: '#9ca560',
    500: '#70811a',
    950: '#000000',
  },
}
SCSS
$custom: #70811a;
$custom-light: #9ca560;
$custom-dark: #000000;
JSON
{
  "hex": "#70811a",
  "rgb": {
    "r": 112,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 69.903,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57026,
    "c": 0.12393,
    "h": 119
  },
  "luminance": 0.1922
}

Semantic roles & 50–950 ramp

primary
#70811A
secondary
#5542B5
accent
#3EE95B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #70811A

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

Preview Lab → · Contrast checker → · Palette generator →

#70811A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva