#707A1F#707A1F

#707A1F is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.3% C 0.112 H 115.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#707A1F
RGBrgb(112, 122, 31)
HSLhsl(67, 59%, 30%)
HSVhsv(67, 75%, 48%)
CMYKcmyk(8.2%, 0%, 74.6%, 52.2%)
CIE-LABlab(48.84, -16.11, 45.67)
CIE-LCHlch(48.84, 48.43, 109.44°)
OKLaboklab(55.34% -0.0487 0.1014)
OKLCHoklch(55.34% 0.112 115.7)
XYZxyz(13.8893, 17.4630, 3.9351)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707A1F #291F7A
analogous
#7A561F #707A1F #437A1F
triadic
#707A1F #1F707A #7A1F70
tetradic
#707A1F #1F7A56 #291F7A #7A1F43
square
#707A1F #1F7A56 #291F7A #7A1F43
split-complementary
#707A1F #1F437A #561F7A
monochromatic
#161806 #434913 #707A1F #9DAB2B #C0CF44

Accessibility & contrast

On white

4.67
#707A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#707A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707A1F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707A1F#FFFFFF#000000##FFFFFF
##707A1F1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730E
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#777368
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #707a1f;
/* rgb */ color: rgb(112, 122, 31);
/* oklch */ color: oklch(55.3% 0.112 115.7);
Tailwind
colors: {
  custom: {
    50: '#9ca062',
    500: '#707a1f',
    950: '#000000',
  },
}
SCSS
$custom: #707a1f;
$custom-light: #9ca062;
$custom-dark: #000000;
JSON
{
  "hex": "#707a1f",
  "rgb": {
    "r": 112,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 66.593,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.11249,
    "h": 115.7
  },
  "luminance": 0.17463
}

Semantic roles & 50–950 ramp

primary
#707A1F
secondary
#5347AD
accent
#45E356
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #707A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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