#707018#707018

#707018 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.9% C 0.105 H 109.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#707018
RGBrgb(112, 112, 24)
HSLhsl(60, 65%, 27%)
HSVhsv(60, 79%, 44%)
CMYKcmyk(0%, 0%, 78.6%, 56.1%)
CIE-LABlab(45.77, -11.02, 45.35)
CIE-LCHlch(45.77, 46.67, 103.66°)
OKLaboklab(52.87% -0.0352 0.0994)
OKLCHoklch(52.87% 0.105 109.5)
XYZxyz(12.6416, 15.0994, 3.1125)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707018 #181870
analogous
#704418 #707018 #447018
triadic
#707018 #187070 #701870
tetradic
#707018 #187044 #181870 #701844
square
#707018 #187044 #181870 #701844
split-complementary
#707018 #184470 #441870
monochromatic
#191905 #3E3E0D #707018 #A2A223 #D3D330

Accessibility & contrast

On white

5.22
#707018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#707018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707018
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707018#FFFFFF#000000##FFFFFF
##7070181.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#78685F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #707018;
/* rgb */ color: rgb(112, 112, 24);
/* oklch */ color: oklch(52.9% 0.105 109.5);
Tailwind
colors: {
  custom: {
    50: '#9c985d',
    500: '#707018',
    950: '#000000',
  },
}
SCSS
$custom: #707018;
$custom-light: #9c985d;
$custom-dark: #000000;
JSON
{
  "hex": "#707018",
  "rgb": {
    "r": 112,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.10544,
    "h": 109.5
  },
  "luminance": 0.15099
}

Semantic roles & 50–950 ramp

primary
#707018
secondary
#3E3EA5
accent
#40E840
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #707018

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

Preview Lab → · Contrast checker → · Palette generator →

#707018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva