#707B28#707B28

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

Color values

HEX#707B28
RGBrgb(112, 123, 40)
HSLhsl(68, 51%, 32%)
HSVhsv(68, 67%, 48%)
CMYKcmyk(8.9%, 0%, 67.5%, 51.8%)
CIE-LABlab(49.21, -16.08, 42.32)
CIE-LCHlch(49.21, 45.27, 110.81°)
OKLaboklab(55.66% -0.0477 0.0959)
OKLCHoklch(55.66% 0.107 116.4)
XYZxyz(14.1484, 17.7640, 4.6905)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707B28 #33287B
analogous
#7B5D28 #707B28 #477B28
triadic
#707B28 #28707B #7B2870
tetradic
#707B28 #287B5D #33287B #7B2847
square
#707B28 #287B5D #33287B #7B2847
split-complementary
#707B28 #28477B #5D287B
monochromatic
#1C1F0A #464D19 #707B28 #9AA937 #B9C856

Accessibility & contrast

On white

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

On black

4.55
#707B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##707B28#FFFFFF#000000##FFFFFF
##707B281.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83751D
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#77746A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #707b28;
/* rgb */ color: rgb(112, 123, 40);
/* oklch */ color: oklch(55.7% 0.107 116.4);
Tailwind
colors: {
  custom: {
    50: '#9ba167',
    500: '#707b28',
    950: '#000000',
  },
}
SCSS
$custom: #707b28;
$custom-light: #9ba167;
$custom-dark: #000000;
JSON
{
  "hex": "#707b28",
  "rgb": {
    "r": 112,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 67.952,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55661,
    "c": 0.1071,
    "h": 116.4
  },
  "luminance": 0.17764
}

Semantic roles & 50–950 ramp

primary
#707B28
secondary
#5E52AD
accent
#4DDA60
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #707B28

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

Preview Lab → · Contrast checker → · Palette generator →

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