#707A18#707A18

#707A18 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.3% C 0.117 H 115.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#707A18
RGBrgb(112, 122, 24)
HSLhsl(66, 67%, 29%)
HSVhsv(66, 80%, 48%)
CMYKcmyk(8.2%, 0%, 80.3%, 52.2%)
CIE-LABlab(48.80, -16.46, 48.12)
CIE-LCHlch(48.80, 50.86, 108.88°)
OKLaboklab(55.3% -0.0503 0.1053)
OKLCHoklch(55.3% 0.117 115.5)
XYZxyz(13.8069, 17.4300, 3.5010)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707A18 #22187A
analogous
#7A5318 #707A18 #3F7A18
triadic
#707A18 #18707A #7A1870
tetradic
#707A18 #187A53 #22187A #7A183F
square
#707A18 #187A53 #22187A #7A183F
split-complementary
#707A18 #183F7A #53187A
monochromatic
#171A05 #41470E #707A18 #9FAD22 #C7D735

Accessibility & contrast

On white

4.68
#707A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#707A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707A18
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707A18#FFFFFF#000000##FFFFFF
##707A181.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#827521
Tritanopia (blue-blind)
#787268
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #707a18;
/* rgb */ color: rgb(112, 122, 24);
/* oklch */ color: oklch(55.3% 0.117 115.5);
Tailwind
colors: {
  custom: {
    50: '#9ca05e',
    500: '#707a18',
    950: '#000000',
  },
}
SCSS
$custom: #707a18;
$custom-light: #9ca05e;
$custom-dark: #000000;
JSON
{
  "hex": "#707a18",
  "rgb": {
    "r": 112,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 66.122,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55297,
    "c": 0.11669,
    "h": 115.5
  },
  "luminance": 0.1743
}

Semantic roles & 50–950 ramp

primary
#707A18
secondary
#4A3FAF
accent
#3EEA4F
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #707A18

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

Preview Lab → · Contrast checker → · Palette generator →

#707A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva