#707B2F#707B2F

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

Color values

HEX#707B2F
RGBrgb(112, 123, 47)
HSLhsl(69, 45%, 33%)
HSVhsv(69, 62%, 48%)
CMYKcmyk(8.9%, 0%, 61.8%, 51.8%)
CIE-LABlab(49.27, -15.55, 39.17)
CIE-LCHlch(49.27, 42.14, 111.65°)
OKLaboklab(55.73% -0.0454 0.0903)
OKLCHoklch(55.73% 0.101 116.7)
XYZxyz(14.2784, 17.8161, 5.3754)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707B2F #3A2F7B
analogous
#7B602F #707B2F #4A7B2F
triadic
#707B2F #2F707B #7B2F70
tetradic
#707B2F #2F7B60 #3A2F7B #7B2F4A
square
#707B2F #2F7B60 #3A2F7B #7B2F4A
split-complementary
#707B2F #2F4A7B #602F7B
monochromatic
#1F220D #484F1E #707B2F #98A740 #B5C362

Accessibility & contrast

On white

4.60
#707B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #707B2F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707B2F#FFFFFF#000000##FFFFFF
##707B2F1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837526
Deuteranopia (green-blind)
#827634
Tritanopia (blue-blind)
#77746B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #707b2f;
/* rgb */ color: rgb(112, 123, 47);
/* oklch */ color: oklch(55.7% 0.101 116.7);
Tailwind
colors: {
  custom: {
    50: '#9ba16b',
    500: '#707b2f',
    950: '#000000',
  },
}
SCSS
$custom: #707b2f;
$custom-light: #9ba16b;
$custom-dark: #000000;
JSON
{
  "hex": "#707b2f",
  "rgb": {
    "r": 112,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 68.684,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55733,
    "c": 0.10105,
    "h": 116.7
  },
  "luminance": 0.17816
}

Semantic roles & 50–950 ramp

primary
#707B2F
secondary
#675CAA
accent
#53D466
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E07
muted
#7E7E7A

Preview Lab

Preview with #707B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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