#707F1A#707F1A

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

Color values

HEX#707F1A
RGBrgb(112, 127, 26)
HSLhsl(69, 66%, 30%)
HSVhsv(69, 80%, 50%)
CMYKcmyk(11.8%, 0%, 79.5%, 50.2%)
CIE-LABlab(50.33, -19.01, 48.87)
CIE-LCHlch(50.33, 52.43, 111.25°)
OKLaboklab(56.53% -0.0572 0.1072)
OKLCHoklch(56.53% 0.122 118.1)
XYZxyz(14.4583, 18.6982, 3.8245)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707F1A #291A7F
analogous
#7F5C1A #707F1A #3D7F1A
triadic
#707F1A #1A707F #7F1A70
tetradic
#707F1A #1A7F5C #291A7F #7F1A3D
square
#707F1A #1A7F5C #291A7F #7F1A3D
split-complementary
#707F1A #1A3D7F #5C1A7F
monochromatic
#161905 #434C10 #707F1A #9DB224 #C0D73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##707F1A#FFFFFF#000000##000000
##707F1A1.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)
#867823
Tritanopia (blue-blind)
#77786C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #707f1a;
/* rgb */ color: rgb(112, 127, 26);
/* oklch */ color: oklch(56.5% 0.122 118.1);
Tailwind
colors: {
  custom: {
    50: '#9ca460',
    500: '#707f1a',
    950: '#000000',
  },
}
SCSS
$custom: #707f1a;
$custom-light: #9ca460;
$custom-dark: #000000;
JSON
{
  "hex": "#707f1a",
  "rgb": {
    "r": 112,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 68.911,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.12152,
    "h": 118.1
  },
  "luminance": 0.18698
}

Semantic roles & 50–950 ramp

primary
#707F1A
secondary
#5342B3
accent
#3FE958
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #707F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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