#70781F#70781F

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

Color values

HEX#70781F
RGBrgb(112, 120, 31)
HSLhsl(65, 59%, 30%)
HSVhsv(65, 74%, 47%)
CMYKcmyk(6.7%, 0%, 74.2%, 52.9%)
CIE-LABlab(48.23, -15.04, 45.08)
CIE-LCHlch(48.23, 47.52, 108.45°)
OKLaboklab(54.86% -0.0457 0.1002)
OKLCHoklch(54.86% 0.11 114.5)
XYZxyz(13.6463, 16.9769, 3.8541)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70781F #271F78
analogous
#78541F #70781F #44781F
triadic
#70781F #1F7078 #781F70
tetradic
#70781F #1F7854 #271F78 #781F44
square
#70781F #1F7854 #271F78 #781F44
split-complementary
#70781F #1F4478 #541F78
monochromatic
#171806 #434712 #70781F #9DA92C #C2CE43

Accessibility & contrast

On white

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

On black

4.40
#70781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##70781F#FFFFFF#000000##FFFFFF
##70781F1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#787167
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #70781f;
/* rgb */ color: rgb(112, 120, 31);
/* oklch */ color: oklch(54.9% 0.110 114.5);
Tailwind
colors: {
  custom: {
    50: '#9c9e61',
    500: '#70781f',
    950: '#000000',
  },
}
SCSS
$custom: #70781f;
$custom-light: #9c9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#70781f",
  "rgb": {
    "r": 112,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 65.393,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54855,
    "c": 0.1101,
    "h": 114.5
  },
  "luminance": 0.16977
}

Semantic roles & 50–950 ramp

primary
#70781F
secondary
#5047AB
accent
#46E254
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #70781F

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

Preview Lab → · Contrast checker → · Palette generator →

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