#70782F#70782F

#70782F is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.0% C 0.097 H 114.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#70782F
RGBrgb(112, 120, 47)
HSLhsl(67, 44%, 33%)
HSVhsv(67, 61%, 47%)
CMYKcmyk(6.7%, 0%, 60.8%, 52.9%)
CIE-LABlab(48.36, -13.93, 38.16)
CIE-LCHlch(48.36, 40.63, 110.05°)
OKLaboklab(55.01% -0.0409 0.0881)
OKLCHoklch(55.01% 0.097 114.9)
XYZxyz(13.9119, 17.0831, 5.2533)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70782F #372F78
analogous
#785B2F #70782F #4C782F
triadic
#70782F #2F7078 #782F70
tetradic
#70782F #2F785B #372F78 #782F4C
square
#70782F #2F785B #372F78 #782F4C
split-complementary
#70782F #2F4C78 #5B2F78
monochromatic
#1E200D #474C1E #70782F #99A440 #B6C160

Accessibility & contrast

On white

4.75
#70782F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#70782F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #70782F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70782F#FFFFFF#000000##FFFFFF
##70782F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#807333
Tritanopia (blue-blind)
#777168
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #70782f;
/* rgb */ color: rgb(112, 120, 47);
/* oklch */ color: oklch(55.0% 0.097 114.9);
Tailwind
colors: {
  custom: {
    50: '#9b9e6b',
    500: '#70782f',
    950: '#000000',
  },
}
SCSS
$custom: #70782f;
$custom-light: #9b9e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#70782f",
  "rgb": {
    "r": 112,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 66.575,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.09714,
    "h": 114.9
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#70782F
secondary
#635BA8
accent
#54D362
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E07
muted
#7E7E7A

Preview Lab

Preview with #70782F

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

Preview Lab → · Contrast checker → · Palette generator →

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