#707F18#707F18

#707F18 is a mid, vivid yellow. Relative luminance 0.187; OKLCH L 56.5% C 0.123 H 118.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#707F18
RGBrgb(112, 127, 24)
HSLhsl(69, 68%, 30%)
HSVhsv(69, 81%, 50%)
CMYKcmyk(11.8%, 0%, 81.1%, 50.2%)
CIE-LABlab(50.32, -19.10, 49.50)
CIE-LCHlch(50.32, 53.06, 111.09°)
OKLaboklab(56.52% -0.0576 0.1082)
OKLCHoklch(56.52% 0.123 118)
XYZxyz(14.4367, 18.6896, 3.7109)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707F18 #27187F
analogous
#7F5B18 #707F18 #3D7F18
triadic
#707F18 #18707F #7F1870
tetradic
#707F18 #187F5B #27187F #7F183D
square
#707F18 #187F5B #27187F #7F183D
split-complementary
#707F18 #183D7F #5B187F
monochromatic
#171A05 #434C0E #707F18 #9DB222 #C2D938

Accessibility & contrast

On white

4.43
#707F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#707F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707F18
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707F18#FFFFFF#000000##000000
##707F181.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#77786C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #707f18;
/* rgb */ color: rgb(112, 127, 24);
/* oklch */ color: oklch(56.5% 0.123 118.0);
Tailwind
colors: {
  custom: {
    50: '#9ca45f',
    500: '#707f18',
    950: '#000000',
  },
}
SCSS
$custom: #707f18;
$custom-light: #9ca45f;
$custom-dark: #000000;
JSON
{
  "hex": "#707f18",
  "rgb": {
    "r": 112,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 68.738,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.12258,
    "h": 118
  },
  "luminance": 0.18689
}

Semantic roles & 50–950 ramp

primary
#707F18
secondary
#503FB3
accent
#3DEB56
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #707F18

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

Preview Lab → · Contrast checker → · Palette generator →

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