#707B2A#707B2A

#707B2A is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.7% C 0.105 H 116.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#707B2A
RGBrgb(112, 123, 42)
HSLhsl(68, 49%, 32%)
HSVhsv(68, 66%, 48%)
CMYKcmyk(8.9%, 0%, 65.9%, 51.8%)
CIE-LABlab(49.23, -15.94, 41.44)
CIE-LCHlch(49.23, 44.40, 111.04°)
OKLaboklab(55.68% -0.0471 0.0944)
OKLCHoklch(55.68% 0.105 116.5)
XYZxyz(14.1833, 17.7780, 4.8744)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707B2A #352A7B
analogous
#7B5D2A #707B2A #487B2A
triadic
#707B2A #2A707B #7B2A70
tetradic
#707B2A #2A7B5D #352A7B #7B2A48
square
#707B2A #2A7B5D #352A7B #7B2A48
split-complementary
#707B2A #2A487B #5D2A7B
monochromatic
#1D200B #464D1A #707B2A #9AA93A #B7C659

Accessibility & contrast

On white

4.61
#707B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#707B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #707B2A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707B2A#FFFFFF#000000##FFFFFF
##707B2A1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837520
Deuteranopia (green-blind)
#827630
Tritanopia (blue-blind)
#77746A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #707b2a;
/* rgb */ color: rgb(112, 123, 42);
/* oklch */ color: oklch(55.7% 0.105 116.5);
Tailwind
colors: {
  custom: {
    50: '#9ba168',
    500: '#707b2a',
    950: '#000000',
  },
}
SCSS
$custom: #707b2a;
$custom-light: #9ba168;
$custom-dark: #000000;
JSON
{
  "hex": "#707b2a",
  "rgb": {
    "r": 112,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 68.148,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5568,
    "c": 0.10545,
    "h": 116.5
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#707B2A
secondary
#6155AC
accent
#4FD962
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #707B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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