#707A12#707A12

#707A12 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.3% C 0.120 H 115.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#707A12
RGBrgb(112, 122, 18)
HSLhsl(66, 74%, 27%)
HSVhsv(66, 85%, 48%)
CMYKcmyk(8.2%, 0%, 85.2%, 52.2%)
CIE-LABlab(48.77, -16.69, 49.90)
CIE-LCHlch(48.77, 52.62, 108.50°)
OKLaboklab(55.27% -0.0514 0.108)
OKLCHoklch(55.27% 0.12 115.5)
XYZxyz(13.7512, 17.4077, 3.2078)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707A12 #1C127A
analogous
#7A5012 #707A12 #3C7A12
triadic
#707A12 #12707A #7A1270
tetradic
#707A12 #127A50 #1C127A #7A123C
square
#707A12 #127A50 #1C127A #7A123C
split-complementary
#707A12 #123C7A #50127A
monochromatic
#181B04 #3F450A #707A12 #A1AF1A #CDDF27

Accessibility & contrast

On white

4.69
#707A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#707A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707A12
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707A12#FFFFFF#000000##FFFFFF
##707A121.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#83751D
Tritanopia (blue-blind)
#787268
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #707a12;
/* rgb */ color: rgb(112, 122, 18);
/* oklch */ color: oklch(55.3% 0.120 115.5);
Tailwind
colors: {
  custom: {
    50: '#9ca05c',
    500: '#707a12',
    950: '#000000',
  },
}
SCSS
$custom: #707a12;
$custom-light: #9ca05c;
$custom-dark: #000000;
JSON
{
  "hex": "#707a12",
  "rgb": {
    "r": 112,
    "g": 122,
    "b": 18
  },
  "hsl": {
    "h": 65.769,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.55266,
    "c": 0.11958,
    "h": 115.5
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#707A12
secondary
#4338B0
accent
#37F149
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #707A12

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

Preview Lab → · Contrast checker → · Palette generator →

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