#707B1F#707B1F

#707B1F is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.6% C 0.114 H 116.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#707B1F
RGBrgb(112, 123, 31)
HSLhsl(67, 60%, 30%)
HSVhsv(67, 75%, 48%)
CMYKcmyk(8.9%, 0%, 74.8%, 51.8%)
CIE-LABlab(49.14, -16.65, 45.96)
CIE-LCHlch(49.14, 48.88, 109.91°)
OKLaboklab(55.59% -0.0502 0.102)
OKLCHoklch(55.59% 0.114 116.2)
XYZxyz(14.0127, 17.7098, 3.9762)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707B1F #2A1F7B
analogous
#7B581F #707B1F #427B1F
triadic
#707B1F #1F707B #7B1F70
tetradic
#707B1F #1F7B58 #2A1F7B #7B1F42
square
#707B1F #1F7B58 #2A1F7B #7B1F42
split-complementary
#707B1F #1F427B #581F7B
monochromatic
#171906 #434A13 #707B1F #9DAC2B #BFD044

Accessibility & contrast

On white

4.62
#707B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#707B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #707B1F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707B1F#FFFFFF#000000##FFFFFF
##707B1F1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740E
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#777469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #707b1f;
/* rgb */ color: rgb(112, 123, 31);
/* oklch */ color: oklch(55.6% 0.114 116.2);
Tailwind
colors: {
  custom: {
    50: '#9ca162',
    500: '#707b1f',
    950: '#000000',
  },
}
SCSS
$custom: #707b1f;
$custom-light: #9ca162;
$custom-dark: #000000;
JSON
{
  "hex": "#707b1f",
  "rgb": {
    "r": 112,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 67.174,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.11369,
    "h": 116.2
  },
  "luminance": 0.1771
}

Semantic roles & 50–950 ramp

primary
#707B1F
secondary
#5448AE
accent
#45E358
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E05
muted
#7E7E7A

Preview Lab

Preview with #707B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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