#707838#707838

#707838 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.1% C 0.088 H 115.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#707838
RGBrgb(112, 120, 56)
HSLhsl(68, 36%, 35%)
HSVhsv(68, 53%, 47%)
CMYKcmyk(6.7%, 0%, 53.3%, 52.9%)
CIE-LABlab(48.47, -13.10, 33.75)
CIE-LCHlch(48.47, 36.21, 111.22°)
OKLaboklab(55.12% -0.0376 0.0797)
OKLCHoklch(55.12% 0.088 115.2)
XYZxyz(14.1126, 17.1634, 6.3100)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707838 #403878
analogous
#786038 #707838 #507838
triadic
#707838 #387078 #783870
tetradic
#707838 #387860 #403878 #783850
square
#707838 #387860 #403878 #783850
split-complementary
#707838 #385078 #603878
monochromatic
#222511 #494E25 #707838 #97A24B #B2BC6F

Accessibility & contrast

On white

4.74
#707838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#707838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #707838
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707838#FFFFFF#000000##FFFFFF
##7078381.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807332
Deuteranopia (green-blind)
#7F743C
Tritanopia (blue-blind)
#767269
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #707838;
/* rgb */ color: rgb(112, 120, 56);
/* oklch */ color: oklch(55.1% 0.088 115.2);
Tailwind
colors: {
  custom: {
    50: '#9a9e70',
    500: '#707838',
    950: '#000000',
  },
}
SCSS
$custom: #707838;
$custom-light: #9a9e70;
$custom-dark: #000000;
JSON
{
  "hex": "#707838",
  "rgb": {
    "r": 112,
    "g": 120,
    "b": 56
  },
  "hsl": {
    "h": 67.5,
    "s": 36.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.08808,
    "h": 115.2
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#707838
secondary
#6F67A5
accent
#5BCC6A
background
#F9F9F6
surface
#F2F2EC
border
#CCCCC7
text
#0E0E08
muted
#7E7E7B

Preview Lab

Preview with #707838

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

Preview Lab → · Contrast checker → · Palette generator →

#707838 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva