#788362#788362

#788362 is a mid, muted yellow-green. Relative luminance 0.211; OKLCH L 59.2% C 0.050 H 122.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#788362
RGBrgb(120, 131, 98)
HSLhsl(80, 14%, 45%)
HSVhsv(80, 25%, 51%)
CMYKcmyk(8.4%, 0%, 25.2%, 48.6%)
CIE-LABlab(53.07, -10.22, 16.54)
CIE-LCHlch(53.07, 19.44, 121.71°)
OKLaboklab(59.18% -0.0271 0.042)
OKLCHoklch(59.18% 0.05 122.9)
XYZxyz(18.0664, 21.1075, 14.6753)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788362 #6D6283
analogous
#837D62 #788362 #688362
triadic
#788362 #627883 #836278
tetradic
#788362 #62837D #6D6283 #836268
square
#788362 #62837D #6D6283 #836268
split-complementary
#788362 #626883 #7D6283
monochromatic
#383D2E #586048 #788362 #96A181 #B4BBA4

Accessibility & contrast

On white

4.02
#788362 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#788362 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788362
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788362#FFFFFF#000000##000000
##7883621.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877F60
Deuteranopia (green-blind)
#867F63
Tritanopia (blue-blind)
#7B807A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #788362;
/* rgb */ color: rgb(120, 131, 98);
/* oklch */ color: oklch(59.2% 0.050 122.9);
Tailwind
colors: {
  custom: {
    50: '#9fa78e',
    500: '#788362',
    950: '#000000',
  },
}
SCSS
$custom: #788362;
$custom-light: #9fa78e;
$custom-dark: #000000;
JSON
{
  "hex": "#788362",
  "rgb": {
    "r": 120,
    "g": 131,
    "b": 98
  },
  "hsl": {
    "h": 80,
    "s": 14.41,
    "l": 44.902
  },
  "oklch": {
    "l": 0.59176,
    "c": 0.04996,
    "h": 122.9
  },
  "luminance": 0.21108
}

Semantic roles & 50–950 ramp

primary
#788362
secondary
#9D97AA
accent
#71B788
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #788362

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

Preview Lab → · Contrast checker → · Palette generator →

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