#70751B#70751B

#70751B is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.1% C 0.109 H 112.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#70751B
RGBrgb(112, 117, 27)
HSLhsl(63, 63%, 28%)
HSVhsv(63, 77%, 46%)
CMYKcmyk(4.3%, 0%, 76.9%, 54.1%)
CIE-LABlab(47.30, -13.63, 45.69)
CIE-LCHlch(47.30, 47.68, 106.61°)
OKLaboklab(54.1% -0.0422 0.1007)
OKLCHoklch(54.1% 0.109 112.7)
XYZxyz(13.2416, 16.2468, 3.4751)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70751B #201B75
analogous
#754D1B #70751B #43751B
triadic
#70751B #1B7075 #751B70
tetradic
#70751B #1B754D #201B75 #751B43
square
#70751B #1B754D #201B75 #751B43
split-complementary
#70751B #1B4375 #4D1B75
monochromatic
#181906 #404310 #70751B #A0A726 #C9D139

Accessibility & contrast

On white

4.94
#70751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#70751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #70751B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70751B#FFFFFF#000000##FFFFFF
##70751B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F08
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#786E64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #70751b;
/* rgb */ color: rgb(112, 117, 27);
/* oklch */ color: oklch(54.1% 0.109 112.7);
Tailwind
colors: {
  custom: {
    50: '#9c9c5f',
    500: '#70751b',
    950: '#000000',
  },
}
SCSS
$custom: #70751b;
$custom-light: #9c9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#70751b",
  "rgb": {
    "r": 112,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 63.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54099,
    "c": 0.10918,
    "h": 112.7
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#70751B
secondary
#4842A9
accent
#42E64B
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #70751B

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

Preview Lab → · Contrast checker → · Palette generator →

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