#707A2F#707A2F

#707A2F is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.5% C 0.100 H 116.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#707A2F
RGBrgb(112, 122, 47)
HSLhsl(68, 44%, 33%)
HSVhsv(68, 61%, 48%)
CMYKcmyk(8.2%, 0%, 61.5%, 52.2%)
CIE-LABlab(48.97, -15.01, 38.83)
CIE-LCHlch(48.97, 41.63, 111.13°)
OKLaboklab(55.49% -0.0439 0.0896)
OKLCHoklch(55.49% 0.1 116.1)
XYZxyz(14.1550, 17.5692, 5.3343)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707A2F #392F7A
analogous
#7A5E2F #707A2F #4A7A2F
triadic
#707A2F #2F707A #7A2F70
tetradic
#707A2F #2F7A5E #392F7A #7A2F4A
square
#707A2F #2F7A5E #392F7A #7A2F4A
split-complementary
#707A2F #2F4A7A #5E2F7A
monochromatic
#1F220D #474E1E #707A2F #99A640 #B5C261

Accessibility & contrast

On white

4.65
#707A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#707A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #707A2F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707A2F#FFFFFF#000000##FFFFFF
##707A2F1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827427
Deuteranopia (green-blind)
#817534
Tritanopia (blue-blind)
#77736A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #707a2f;
/* rgb */ color: rgb(112, 122, 47);
/* oklch */ color: oklch(55.5% 0.100 116.1);
Tailwind
colors: {
  custom: {
    50: '#9ba06b',
    500: '#707a2f',
    950: '#000000',
  },
}
SCSS
$custom: #707a2f;
$custom-light: #9ba06b;
$custom-dark: #000000;
JSON
{
  "hex": "#707a2f",
  "rgb": {
    "r": 112,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 68,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5549,
    "c": 0.09974,
    "h": 116.1
  },
  "luminance": 0.17569
}

Semantic roles & 50–950 ramp

primary
#707A2F
secondary
#665CA9
accent
#54D465
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E07
muted
#7E7E7A

Preview Lab

Preview with #707A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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