#707918#707918

#707918 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.1% C 0.116 H 115.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#707918
RGBrgb(112, 121, 24)
HSLhsl(66, 67%, 28%)
HSVhsv(66, 80%, 47%)
CMYKcmyk(7.4%, 0%, 80.2%, 52.5%)
CIE-LABlab(48.49, -15.93, 47.84)
CIE-LCHlch(48.49, 50.43, 108.41°)
OKLaboklab(55.05% -0.0488 0.1047)
OKLCHoklch(55.05% 0.116 115)
XYZxyz(13.6847, 17.1857, 3.4603)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707918 #211879
analogous
#795118 #707918 #3F7918
triadic
#707918 #187079 #791870
tetradic
#707918 #187951 #211879 #79183F
square
#707918 #187951 #211879 #79183F
split-complementary
#707918 #183F79 #511879
monochromatic
#181A05 #41460E #707918 #9FAC22 #C8D735

Accessibility & contrast

On white

4.73
#707918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#707918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707918
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707918#FFFFFF#000000##FFFFFF
##7079181.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#787167
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #707918;
/* rgb */ color: rgb(112, 121, 24);
/* oklch */ color: oklch(55.1% 0.116 115.0);
Tailwind
colors: {
  custom: {
    50: '#9c9f5e',
    500: '#707918',
    950: '#000000',
  },
}
SCSS
$custom: #707918;
$custom-light: #9c9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#707918",
  "rgb": {
    "r": 112,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 65.567,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55053,
    "c": 0.11552,
    "h": 115
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#707918
secondary
#493FAE
accent
#3EEA4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #707918

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

Preview Lab → · Contrast checker → · Palette generator →

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