#707B22#707B22

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

Color values

HEX#707B22
RGBrgb(112, 123, 34)
HSLhsl(67, 57%, 31%)
HSVhsv(67, 72%, 48%)
CMYKcmyk(8.9%, 0%, 72.4%, 51.8%)
CIE-LABlab(49.16, -16.47, 44.80)
CIE-LCHlch(49.16, 47.74, 110.19°)
OKLaboklab(55.61% -0.0494 0.1001)
OKLCHoklch(55.61% 0.112 116.3)
XYZxyz(14.0541, 17.7263, 4.1942)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707B22 #2D227B
analogous
#7B5922 #707B22 #437B22
triadic
#707B22 #22707B #7B2270
tetradic
#707B22 #227B59 #2D227B #7B2243
square
#707B22 #227B59 #2D227B #7B2243
split-complementary
#707B22 #22437B #59227B
monochromatic
#191B07 #444B15 #707B22 #9CAB2F #BDCD4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##707B22#FFFFFF#000000##FFFFFF
##707B221.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847413
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#777469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #707b22;
/* rgb */ color: rgb(112, 123, 34);
/* oklch */ color: oklch(55.6% 0.112 116.3);
Tailwind
colors: {
  custom: {
    50: '#9ca163',
    500: '#707b22',
    950: '#000000',
  },
}
SCSS
$custom: #707b22;
$custom-light: #9ca163;
$custom-dark: #000000;
JSON
{
  "hex": "#707b22",
  "rgb": {
    "r": 112,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 67.416,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.11165,
    "h": 116.3
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#707B22
secondary
#574BAE
accent
#48E05B
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #707B22

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

Preview Lab → · Contrast checker → · Palette generator →

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