#707D1F#707D1F

#707D1F is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.1% C 0.116 H 117.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#707D1F
RGBrgb(112, 125, 31)
HSLhsl(68, 60%, 31%)
HSVhsv(68, 75%, 49%)
CMYKcmyk(10.4%, 0%, 75.2%, 51%)
CIE-LABlab(49.75, -17.71, 46.55)
CIE-LCHlch(49.75, 49.80, 110.83°)
OKLaboklab(56.08% -0.0531 0.1033)
OKLCHoklch(56.08% 0.116 117.2)
XYZxyz(14.2634, 18.2111, 4.0598)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707D1F #2C1F7D
analogous
#7D5B1F #707D1F #417D1F
triadic
#707D1F #1F707D #7D1F70
tetradic
#707D1F #1F7D5B #2C1F7D #7D1F41
square
#707D1F #1F7D5B #2C1F7D #7D1F41
split-complementary
#707D1F #1F417D #5B1F7D
monochromatic
#181B07 #444C13 #707D1F #9CAE2B #BED145

Accessibility & contrast

On white

4.52
#707D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#707D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707D1F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707D1F#FFFFFF#000000##000000
##707D1F1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760D
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#77766B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #707d1f;
/* rgb */ color: rgb(112, 125, 31);
/* oklch */ color: oklch(56.1% 0.116 117.2);
Tailwind
colors: {
  custom: {
    50: '#9ca262',
    500: '#707d1f',
    950: '#000000',
  },
}
SCSS
$custom: #707d1f;
$custom-light: #9ca262;
$custom-dark: #000000;
JSON
{
  "hex": "#707d1f",
  "rgb": {
    "r": 112,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 68.298,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56076,
    "c": 0.11612,
    "h": 117.2
  },
  "luminance": 0.18211
}

Semantic roles & 50–950 ramp

primary
#707D1F
secondary
#5648B0
accent
#44E35A
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0F05
muted
#7E7E7A

Preview Lab

Preview with #707D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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