#707F15#707F15

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

Color values

HEX#707F15
RGBrgb(112, 127, 21)
HSLhsl(68, 72%, 29%)
HSVhsv(68, 83%, 50%)
CMYKcmyk(11.8%, 0%, 83.5%, 50.2%)
CIE-LABlab(50.31, -19.22, 50.40)
CIE-LCHlch(50.31, 53.94, 110.87°)
OKLaboklab(56.51% -0.0581 0.1096)
OKLCHoklch(56.51% 0.124 118)
XYZxyz(14.4072, 18.6778, 3.5555)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707F15 #24157F
analogous
#7F5915 #707F15 #3B7F15
triadic
#707F15 #15707F #7F1570
tetradic
#707F15 #157F59 #24157F #7F153B
square
#707F15 #157F59 #24157F #7F153B
split-complementary
#707F15 #153B7F #59157F
monochromatic
#171A04 #424A0C #707F15 #9EB41E #C5DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##707F15#FFFFFF#000000##000000
##707F151.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)
#877820
Tritanopia (blue-blind)
#77776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #707f15;
/* rgb */ color: rgb(112, 127, 21);
/* oklch */ color: oklch(56.5% 0.124 118.0);
Tailwind
colors: {
  custom: {
    50: '#9ca45e',
    500: '#707f15',
    950: '#000000',
  },
}
SCSS
$custom: #707f15;
$custom-light: #9ca45e;
$custom-dark: #000000;
JSON
{
  "hex": "#707f15",
  "rgb": {
    "r": 112,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 68.491,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56507,
    "c": 0.12404,
    "h": 118
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#707F15
secondary
#4D3CB4
accent
#39EE53
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #707F15

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

Preview Lab → · Contrast checker → · Palette generator →

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