#707F1F#707F1F

#707F1F is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.6% C 0.119 H 118.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#707F1F
RGBrgb(112, 127, 31)
HSLhsl(69, 61%, 31%)
HSVhsv(69, 76%, 50%)
CMYKcmyk(11.8%, 0%, 75.6%, 50.2%)
CIE-LABlab(50.36, -18.76, 47.14)
CIE-LCHlch(50.36, 50.73, 111.70°)
OKLaboklab(56.57% -0.056 0.1045)
OKLCHoklch(56.57% 0.119 118.2)
XYZxyz(14.5191, 18.7225, 4.1450)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707F1F #2E1F7F
analogous
#7F5E1F #707F1F #407F1F
triadic
#707F1F #1F707F #7F1F70
tetradic
#707F1F #1F7F5E #2E1F7F #7F1F40
square
#707F1F #1F7F5E #2E1F7F #7F1F40
split-complementary
#707F1F #1F407F #5E1F7F
monochromatic
#191D07 #454E13 #707F1F #9BB02B #BCD246

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##707F1F#FFFFFF#000000##000000
##707F1F1.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)
#88780C
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#77786D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #707f1f;
/* rgb */ color: rgb(112, 127, 31);
/* oklch */ color: oklch(56.6% 0.119 118.2);
Tailwind
colors: {
  custom: {
    50: '#9ca462',
    500: '#707f1f',
    950: '#000000',
  },
}
SCSS
$custom: #707f1f;
$custom-light: #9ca462;
$custom-dark: #000000;
JSON
{
  "hex": "#707f1f",
  "rgb": {
    "r": 112,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 69.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.11857,
    "h": 118.2
  },
  "luminance": 0.18722
}

Semantic roles & 50–950 ramp

primary
#707F1F
secondary
#5848B2
accent
#44E45D
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #707F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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