#70781A#70781A

#70781A is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.8% C 0.113 H 114.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#70781A
RGBrgb(112, 120, 26)
HSLhsl(65, 64%, 29%)
HSVhsv(65, 78%, 47%)
CMYKcmyk(6.7%, 0%, 78.3%, 52.9%)
CIE-LABlab(48.20, -15.30, 46.90)
CIE-LCHlch(48.20, 49.33, 108.07°)
OKLaboklab(54.82% -0.0469 0.1031)
OKLCHoklch(54.82% 0.113 114.5)
XYZxyz(13.5854, 16.9525, 3.5336)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70781A #221A78
analogous
#78511A #70781A #41781A
triadic
#70781A #1A7078 #781A70
tetradic
#70781A #1A7851 #221A78 #781A41
square
#70781A #1A7851 #221A78 #781A41
split-complementary
#70781A #1A4178 #511A78
monochromatic
#171905 #41460F #70781A #9FAA25 #C7D438

Accessibility & contrast

On white

4.78
#70781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#70781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #70781A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70781A#FFFFFF#000000##FFFFFF
##70781A1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817204
Deuteranopia (green-blind)
#817322
Tritanopia (blue-blind)
#787166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #70781a;
/* rgb */ color: rgb(112, 120, 26);
/* oklch */ color: oklch(54.8% 0.113 114.5);
Tailwind
colors: {
  custom: {
    50: '#9c9e5f',
    500: '#70781a',
    950: '#000000',
  },
}
SCSS
$custom: #70781a;
$custom-light: #9c9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#70781a",
  "rgb": {
    "r": 112,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 65.106,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54821,
    "c": 0.11323,
    "h": 114.5
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#70781A
secondary
#4A41AC
accent
#40E74F
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #70781A

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

Preview Lab → · Contrast checker → · Palette generator →

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