#788058#788058

#788058 is a mid, muted yellow-green. Relative luminance 0.201; OKLCH L 58.3% C 0.059 H 117.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#788058
RGBrgb(120, 128, 88)
HSLhsl(72, 19%, 42%)
HSVhsv(72, 31%, 50%)
CMYKcmyk(6.3%, 0%, 31.3%, 49.8%)
CIE-LABlab(51.99, -10.11, 20.78)
CIE-LCHlch(51.99, 23.11, 115.93°)
OKLaboklab(58.26% -0.027 0.052)
OKLCHoklch(58.26% 0.059 117.4)
XYZxyz(17.2263, 20.1361, 12.2098)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788058 #605880
analogous
#807458 #788058 #648058
triadic
#788058 #587880 #805878
tetradic
#788058 #588074 #605880 #805864
square
#788058 #588074 #605880 #805864
split-complementary
#788058 #586480 #745880
monochromatic
#343726 #565C3F #788058 #98A075 #B3B999

Accessibility & contrast

On white

4.18
#788058 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#788058 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788058
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788058#FFFFFF#000000##000000
##7880581.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857C55
Deuteranopia (green-blind)
#847C5A
Tritanopia (blue-blind)
#7C7C76
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #788058;
/* rgb */ color: rgb(120, 128, 88);
/* oklch */ color: oklch(58.3% 0.059 117.4);
Tailwind
colors: {
  custom: {
    50: '#9fa487',
    500: '#788058',
    950: '#000000',
  },
}
SCSS
$custom: #788058;
$custom-light: #9fa487;
$custom-dark: #000000;
JSON
{
  "hex": "#788058",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 88
  },
  "hsl": {
    "h": 72,
    "s": 18.519,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.05855,
    "h": 117.4
  },
  "luminance": 0.20136
}

Semantic roles & 50–950 ramp

primary
#788058
secondary
#928DA7
accent
#6DBB7C
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0E0F0B
muted
#7E7F7C

Preview Lab

Preview with #788058

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

Preview Lab → · Contrast checker → · Palette generator →

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