#707F1B#707F1B

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

Color values

HEX#707F1B
RGBrgb(112, 127, 27)
HSLhsl(69, 65%, 30%)
HSVhsv(69, 79%, 50%)
CMYKcmyk(11.8%, 0%, 78.7%, 50.2%)
CIE-LABlab(50.34, -18.96, 48.54)
CIE-LCHlch(50.34, 52.11, 111.34°)
OKLaboklab(56.54% -0.057 0.1067)
OKLCHoklch(56.54% 0.121 118.1)
XYZxyz(14.4696, 18.7028, 3.8844)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707F1B #2A1B7F
analogous
#7F5C1B #707F1B #3E7F1B
triadic
#707F1B #1B707F #7F1B70
tetradic
#707F1B #1B7F5C #2A1B7F #7F1B3E
square
#707F1B #1B7F5C #2A1B7F #7F1B3E
split-complementary
#707F1B #1B3E7F #5C1B7F
monochromatic
#171A06 #434D10 #707F1B #9DB126 #BFD63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##707F1B#FFFFFF#000000##000000
##707F1B1.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)
#887802
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#77786C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #707f1b;
/* rgb */ color: rgb(112, 127, 27);
/* oklch */ color: oklch(56.5% 0.121 118.1);
Tailwind
colors: {
  custom: {
    50: '#9ca460',
    500: '#707f1b',
    950: '#000000',
  },
}
SCSS
$custom: #707f1b;
$custom-light: #9ca460;
$custom-dark: #000000;
JSON
{
  "hex": "#707f1b",
  "rgb": {
    "r": 112,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 69,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5654,
    "c": 0.12096,
    "h": 118.1
  },
  "luminance": 0.18703
}

Semantic roles & 50–950 ramp

primary
#707F1B
secondary
#5443B3
accent
#40E859
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #707F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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