#70801F#70801F

#70801F is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 56.8% C 0.120 H 118.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#70801F
RGBrgb(112, 128, 31)
HSLhsl(70, 61%, 31%)
HSVhsv(70, 76%, 50%)
CMYKcmyk(12.5%, 0%, 75.8%, 49.8%)
CIE-LABlab(50.67, -19.28, 47.43)
CIE-LCHlch(50.67, 51.20, 112.12°)
OKLaboklab(56.81% -0.0575 0.1051)
OKLCHoklch(56.81% 0.12 118.7)
XYZxyz(14.6489, 18.9821, 4.1883)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70801F #2F1F80
analogous
#805F1F #70801F #3F801F
triadic
#70801F #1F7080 #801F70
tetradic
#70801F #1F805F #2F1F80 #801F3F
square
#70801F #1F805F #2F1F80 #801F3F
split-complementary
#70801F #1F3F80 #5F1F80
monochromatic
#1A1D07 #454F13 #70801F #9BB12B #BBD247

Accessibility & contrast

On white

4.38
#70801F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#70801F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70801F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70801F#FFFFFF#000000##000000
##70801F1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790B
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#77796D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #70801f;
/* rgb */ color: rgb(112, 128, 31);
/* oklch */ color: oklch(56.8% 0.120 118.7);
Tailwind
colors: {
  custom: {
    50: '#9ca462',
    500: '#70801f',
    950: '#000000',
  },
}
SCSS
$custom: #70801f;
$custom-light: #9ca462;
$custom-dark: #000000;
JSON
{
  "hex": "#70801f",
  "rgb": {
    "r": 112,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 69.897,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56812,
    "c": 0.1198,
    "h": 118.7
  },
  "luminance": 0.18982
}

Semantic roles & 50–950 ramp

primary
#70801F
secondary
#5A48B3
accent
#44E45E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #70801F

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

Preview Lab → · Contrast checker → · Palette generator →

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