#707E1F#707E1F

#707E1F is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.3% C 0.117 H 117.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#707E1F
RGBrgb(112, 126, 31)
HSLhsl(69, 61%, 31%)
HSVhsv(69, 75%, 49%)
CMYKcmyk(11.1%, 0%, 75.4%, 50.6%)
CIE-LABlab(50.06, -18.23, 46.84)
CIE-LCHlch(50.06, 50.27, 111.27°)
OKLaboklab(56.32% -0.0546 0.1039)
OKLCHoklch(56.32% 0.117 117.7)
XYZxyz(14.3906, 18.4655, 4.1022)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707E1F #2D1F7E
analogous
#7E5C1F #707E1F #407E1F
triadic
#707E1F #1F707E #7E1F70
tetradic
#707E1F #1F7E5C #2D1F7E #7E1F40
square
#707E1F #1F7E5C #2D1F7E #7E1F40
split-complementary
#707E1F #1F407E #5C1F7E
monochromatic
#191C07 #444D13 #707E1F #9CAF2B #BDD146

Accessibility & contrast

On white

4.47
#707E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#707E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707E1F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707E1F#FFFFFF#000000##000000
##707E1F1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770C
Deuteranopia (green-blind)
#857827
Tritanopia (blue-blind)
#77776C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #707e1f;
/* rgb */ color: rgb(112, 126, 31);
/* oklch */ color: oklch(56.3% 0.117 117.7);
Tailwind
colors: {
  custom: {
    50: '#9ca362',
    500: '#707e1f',
    950: '#000000',
  },
}
SCSS
$custom: #707e1f;
$custom-light: #9ca362;
$custom-dark: #000000;
JSON
{
  "hex": "#707e1f",
  "rgb": {
    "r": 112,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 68.842,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56321,
    "c": 0.11734,
    "h": 117.7
  },
  "luminance": 0.18465
}

Semantic roles & 50–950 ramp

primary
#707E1F
secondary
#5748B1
accent
#44E45C
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #707E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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