#788E2E#788E2E

#788E2E is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 61.0% C 0.124 H 121.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#788E2E
RGBrgb(120, 142, 46)
HSLhsl(74, 51%, 37%)
HSVhsv(74, 68%, 56%)
CMYKcmyk(15.5%, 0%, 67.6%, 44.3%)
CIE-LABlab(55.62, -22.05, 46.61)
CIE-LCHlch(55.62, 51.56, 115.31°)
OKLaboklab(60.99% -0.0642 0.1057)
OKLCHoklch(60.99% 0.124 121.3)
XYZxyz(17.9121, 23.5363, 6.1836)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788E2E #442E8E
analogous
#8E742E #788E2E #488E2E
triadic
#788E2E #2E788E #8E2E78
tetradic
#788E2E #2E8E74 #442E8E #8E2E48
square
#788E2E #2E8E74 #442E8E #8E2E48
split-complementary
#788E2E #2E488E #742E8E
monochromatic
#2A3210 #51601F #788E2E #9FBC3D #B7CE68

Accessibility & contrast

On white

3.68
#788E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#788E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788E2E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788E2E#FFFFFF#000000##000000
##788E2E1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#948535
Tritanopia (blue-blind)
#7E877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #788e2e;
/* rgb */ color: rgb(120, 142, 46);
/* oklch */ color: oklch(61.0% 0.124 121.3);
Tailwind
colors: {
  custom: {
    50: '#a2af6c',
    500: '#788e2e',
    950: '#000000',
  },
}
SCSS
$custom: #788e2e;
$custom-light: #a2af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#788e2e",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 73.75,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60987,
    "c": 0.12363,
    "h": 121.3
  },
  "luminance": 0.23536
}

Semantic roles & 50–950 ramp

primary
#788E2E
secondary
#7663B5
accent
#4DDB6E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #788E2E

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

Preview Lab → · Contrast checker → · Palette generator →

#788E2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva