#707C12#707C12

#707C12 is a mid, vivid yellow. Relative luminance 0.179; OKLCH L 55.8% C 0.122 H 116.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#707C12
RGBrgb(112, 124, 18)
HSLhsl(67, 75%, 28%)
HSVhsv(67, 85%, 49%)
CMYKcmyk(9.7%, 0%, 85.5%, 51.4%)
CIE-LABlab(49.38, -17.75, 50.43)
CIE-LCHlch(49.38, 53.46, 109.40°)
OKLaboklab(55.76% -0.0543 0.1091)
OKLCHoklch(55.76% 0.122 116.5)
XYZxyz(13.9993, 17.9039, 3.2905)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707C12 #1E127C
analogous
#7C5312 #707C12 #3B7C12
triadic
#707C12 #12707C #7C1270
tetradic
#707C12 #127C53 #1E127C #7C123B
square
#707C12 #127C53 #1E127C #7C123B
split-complementary
#707C12 #123B7C #53127C
monochromatic
#181B04 #40470A #707C12 #A0B11A #CBE029

Accessibility & contrast

On white

4.58
#707C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#707C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707C12
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707C12#FFFFFF#000000##000000
##707C121.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#84761D
Tritanopia (blue-blind)
#787469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #707c12;
/* rgb */ color: rgb(112, 124, 18);
/* oklch */ color: oklch(55.8% 0.122 116.5);
Tailwind
colors: {
  custom: {
    50: '#9ca15c',
    500: '#707c12',
    950: '#000000',
  },
}
SCSS
$custom: #707c12;
$custom-light: #9ca15c;
$custom-dark: #000000;
JSON
{
  "hex": "#707c12",
  "rgb": {
    "r": 112,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 66.792,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.12187,
    "h": 116.5
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#707C12
secondary
#4638B2
accent
#37F14C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #707C12

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

Preview Lab → · Contrast checker → · Palette generator →

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