#70781B#70781B

#70781B 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#70781B
RGBrgb(112, 120, 27)
HSLhsl(65, 63%, 29%)
HSVhsv(65, 78%, 47%)
CMYKcmyk(6.7%, 0%, 77.5%, 52.9%)
CIE-LABlab(48.21, -15.25, 46.55)
CIE-LCHlch(48.21, 48.98, 108.14°)
OKLaboklab(54.83% -0.0467 0.1025)
OKLCHoklch(54.83% 0.113 114.5)
XYZxyz(13.5968, 16.9571, 3.5935)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70781B #231B78
analogous
#78521B #70781B #42781B
triadic
#70781B #1B7078 #781B70
tetradic
#70781B #1B7852 #231B78 #781B42
square
#70781B #1B7852 #231B78 #781B42
split-complementary
#70781B #1B4278 #521B78
monochromatic
#171906 #414610 #70781B #9FAA26 #C6D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70781B#FFFFFF#000000##FFFFFF
##70781B1.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)
#817206
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#787166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #70781b;
/* rgb */ color: rgb(112, 120, 27);
/* oklch */ color: oklch(54.8% 0.113 114.5);
Tailwind
colors: {
  custom: {
    50: '#9c9e5f',
    500: '#70781b',
    950: '#000000',
  },
}
SCSS
$custom: #70781b;
$custom-light: #9c9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#70781b",
  "rgb": {
    "r": 112,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 65.161,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.11264,
    "h": 114.5
  },
  "luminance": 0.16957
}

Semantic roles & 50–950 ramp

primary
#70781B
secondary
#4C43AC
accent
#41E650
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #70781B

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

Preview Lab → · Contrast checker → · Palette generator →

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