#707E12#707E12

#707E12 is a mid, vivid yellow. Relative luminance 0.184; OKLCH L 56.2% C 0.124 H 117.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#707E12
RGBrgb(112, 126, 18)
HSLhsl(68, 75%, 28%)
HSVhsv(68, 86%, 49%)
CMYKcmyk(11.1%, 0%, 85.7%, 50.6%)
CIE-LABlab(49.99, -18.80, 50.95)
CIE-LCHlch(49.99, 54.31, 110.26°)
OKLaboklab(56.25% -0.0572 0.1102)
OKLCHoklch(56.25% 0.124 117.4)
XYZxyz(14.2525, 18.4103, 3.3749)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707E12 #20127E
analogous
#7E5612 #707E12 #3A7E12
triadic
#707E12 #12707E #7E1270
tetradic
#707E12 #127E56 #20127E #7E123A
square
#707E12 #127E56 #20127E #7E123A
split-complementary
#707E12 #123A7E #56127E
monochromatic
#181B04 #40480A #707E12 #A0B41A #C9E12A

Accessibility & contrast

On white

4.49
#707E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#707E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707E12
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707E12#FFFFFF#000000##000000
##707E121.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#86771E
Tritanopia (blue-blind)
#78766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #707e12;
/* rgb */ color: rgb(112, 126, 18);
/* oklch */ color: oklch(56.2% 0.124 117.4);
Tailwind
colors: {
  custom: {
    50: '#9ca35d',
    500: '#707e12',
    950: '#000000',
  },
}
SCSS
$custom: #707e12;
$custom-light: #9ca35d;
$custom-dark: #000000;
JSON
{
  "hex": "#707e12",
  "rgb": {
    "r": 112,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 67.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56247,
    "c": 0.12419,
    "h": 117.4
  },
  "luminance": 0.1841
}

Semantic roles & 50–950 ramp

primary
#707E12
secondary
#4838B4
accent
#36F24E
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #707E12

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

Preview Lab → · Contrast checker → · Palette generator →

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