#706918#706918

#706918 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.2% C 0.098 H 104.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#706918
RGBrgb(112, 105, 24)
HSLhsl(55, 65%, 27%)
HSVhsv(55, 79%, 44%)
CMYKcmyk(0%, 6.3%, 78.6%, 56.1%)
CIE-LABlab(43.67, -7.09, 43.40)
CIE-LCHlch(43.67, 43.98, 99.28°)
OKLaboklab(51.2% -0.0242 0.0952)
OKLCHoklch(51.2% 0.098 104.3)
XYZxyz(11.8991, 13.6143, 2.8650)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#706918 #181F70
analogous
#703D18 #706918 #4B7018
triadic
#706918 #187069 #691870
tetradic
#706918 #18703D #181F70 #70184B
square
#706918 #18703D #181F70 #70184B
split-complementary
#706918 #184B70 #3D1870
monochromatic
#191805 #3E3A0D #706918 #A29823 #D3C630

Accessibility & contrast

On white

5.64
#706918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#706918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #706918
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##706918#FFFFFF#000000##FFFFFF
##7069181.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736507
Deuteranopia (green-blind)
#75691E
Tritanopia (blue-blind)
#79615A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #706918;
/* rgb */ color: rgb(112, 105, 24);
/* oklch */ color: oklch(51.2% 0.098 104.3);
Tailwind
colors: {
  custom: {
    50: '#9c935c',
    500: '#706918',
    950: '#000000',
  },
}
SCSS
$custom: #706918;
$custom-light: #9c935c;
$custom-dark: #000000;
JSON
{
  "hex": "#706918",
  "rgb": {
    "r": 112,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 55.227,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51201,
    "c": 0.09827,
    "h": 104.3
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#706918
secondary
#3E47A5
accent
#4DE840
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #706918

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

Preview Lab → · Contrast checker → · Palette generator →

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