#707C1F#707C1F

#707C1F is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 55.8% C 0.115 H 116.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#707C1F
RGBrgb(112, 124, 31)
HSLhsl(68, 60%, 30%)
HSVhsv(68, 75%, 49%)
CMYKcmyk(9.7%, 0%, 75%, 51.4%)
CIE-LABlab(49.45, -17.18, 46.25)
CIE-LCHlch(49.45, 49.34, 110.37°)
OKLaboklab(55.83% -0.0517 0.1026)
OKLCHoklch(55.83% 0.115 116.7)
XYZxyz(14.1374, 17.9592, 4.0178)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707C1F #2B1F7C
analogous
#7C591F #707C1F #417C1F
triadic
#707C1F #1F707C #7C1F70
tetradic
#707C1F #1F7C59 #2B1F7C #7C1F41
square
#707C1F #1F7C59 #2B1F7C #7C1F41
split-complementary
#707C1F #1F417C #591F7C
monochromatic
#181A07 #444B13 #707C1F #9CAD2B #BED045

Accessibility & contrast

On white

4.57
#707C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#707C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707C1F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707C1F#FFFFFF#000000##000000
##707C1F1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750D
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#77756A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #707c1f;
/* rgb */ color: rgb(112, 124, 31);
/* oklch */ color: oklch(55.8% 0.115 116.7);
Tailwind
colors: {
  custom: {
    50: '#9ca162',
    500: '#707c1f',
    950: '#000000',
  },
}
SCSS
$custom: #707c1f;
$custom-light: #9ca162;
$custom-dark: #000000;
JSON
{
  "hex": "#707c1f",
  "rgb": {
    "r": 112,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 67.742,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55831,
    "c": 0.1149,
    "h": 116.7
  },
  "luminance": 0.17959
}

Semantic roles & 50–950 ramp

primary
#707C1F
secondary
#5548AF
accent
#45E359
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0F05
muted
#7E7E7A

Preview Lab

Preview with #707C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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