#70801B#70801B

#70801B is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 56.8% C 0.122 H 118.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#70801B
RGBrgb(112, 128, 27)
HSLhsl(70, 65%, 30%)
HSVhsv(70, 79%, 50%)
CMYKcmyk(12.5%, 0%, 78.9%, 49.8%)
CIE-LABlab(50.64, -19.48, 48.82)
CIE-LCHlch(50.64, 52.56, 111.75°)
OKLaboklab(56.79% -0.0584 0.1073)
OKLCHoklch(56.79% 0.122 118.6)
XYZxyz(14.5994, 18.9623, 3.9277)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70801B #2B1B80
analogous
#805D1B #70801B #3D801B
triadic
#70801B #1B7080 #801B70
tetradic
#70801B #1B805D #2B1B80 #801B3D
square
#70801B #1B805D #2B1B80 #801B3D
split-complementary
#70801B #1B3D80 #5D1B80
monochromatic
#181B06 #444D10 #70801B #9CB326 #BED63F

Accessibility & contrast

On white

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

On black

4.79
#70801B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70801B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70801B#FFFFFF#000000##000000
##70801B1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897802
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#77796D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #70801b;
/* rgb */ color: rgb(112, 128, 27);
/* oklch */ color: oklch(56.8% 0.122 118.6);
Tailwind
colors: {
  custom: {
    50: '#9ca461',
    500: '#70801b',
    950: '#000000',
  },
}
SCSS
$custom: #70801b;
$custom-light: #9ca461;
$custom-dark: #000000;
JSON
{
  "hex": "#70801b",
  "rgb": {
    "r": 112,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 69.505,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56786,
    "c": 0.12217,
    "h": 118.6
  },
  "luminance": 0.18962
}

Semantic roles & 50–950 ramp

primary
#70801B
secondary
#5543B4
accent
#40E85A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #70801B

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

Preview Lab → · Contrast checker → · Palette generator →

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