#707B18#707B18

#707B18 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.5% C 0.118 H 116.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#707B18
RGBrgb(112, 123, 24)
HSLhsl(67, 67%, 29%)
HSVhsv(67, 80%, 48%)
CMYKcmyk(8.9%, 0%, 80.5%, 51.8%)
CIE-LABlab(49.10, -16.99, 48.40)
CIE-LCHlch(49.10, 51.29, 109.34°)
OKLaboklab(55.54% -0.0518 0.1059)
OKLCHoklch(55.54% 0.118 116.1)
XYZxyz(13.9303, 17.6768, 3.5421)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707B18 #23187B
analogous
#7B5518 #707B18 #3F7B18
triadic
#707B18 #18707B #7B1870
tetradic
#707B18 #187B55 #23187B #7B183F
square
#707B18 #187B55 #23187B #7B183F
split-complementary
#707B18 #183F7B #55187B
monochromatic
#171A05 #41480E #707B18 #9FAE22 #C6D836

Accessibility & contrast

On white

4.63
#707B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#707B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #707B18
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707B18#FFFFFF#000000##FFFFFF
##707B181.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#787369
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #707b18;
/* rgb */ color: rgb(112, 123, 24);
/* oklch */ color: oklch(55.5% 0.118 116.1);
Tailwind
colors: {
  custom: {
    50: '#9ca15e',
    500: '#707b18',
    950: '#000000',
  },
}
SCSS
$custom: #707b18;
$custom-light: #9ca15e;
$custom-dark: #000000;
JSON
{
  "hex": "#707b18",
  "rgb": {
    "r": 112,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 66.667,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.11785,
    "h": 116.1
  },
  "luminance": 0.17677
}

Semantic roles & 50–950 ramp

primary
#707B18
secondary
#4C3FB0
accent
#3EEA51
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #707B18

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

Preview Lab → · Contrast checker → · Palette generator →

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