#788E1E#788E1E

#788E1E is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.9% C 0.134 H 120.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#788E1E
RGBrgb(120, 142, 30)
HSLhsl(72, 65%, 34%)
HSVhsv(72, 79%, 56%)
CMYKcmyk(15.5%, 0%, 78.9%, 44.3%)
CIE-LABlab(55.52, -22.98, 52.55)
CIE-LCHlch(55.52, 57.35, 113.62°)
OKLaboklab(60.87% -0.0682 0.1155)
OKLCHoklch(60.87% 0.134 120.6)
XYZxyz(17.6534, 23.4329, 4.8210)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788E1E #341E8E
analogous
#8E6C1E #788E1E #408E1E
triadic
#788E1E #1E788E #8E1E78
tetradic
#788E1E #1E8E6C #341E8E #8E1E40
square
#788E1E #1E8E6C #341E8E #8E1E40
split-complementary
#788E1E #1E408E #6C1E8E
monochromatic
#232909 #4D5B13 #788E1E #A3C129 #BED94D

Accessibility & contrast

On white

3.69
#788E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#788E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788E1E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788E1E#FFFFFF#000000##000000
##788E1E1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#7F8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #788e1e;
/* rgb */ color: rgb(120, 142, 30);
/* oklch */ color: oklch(60.9% 0.134 120.6);
Tailwind
colors: {
  custom: {
    50: '#a2af64',
    500: '#788e1e',
    950: '#000000',
  },
}
SCSS
$custom: #788e1e;
$custom-light: #a2af64;
$custom-dark: #000000;
JSON
{
  "hex": "#788e1e",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 71.786,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60868,
    "c": 0.13413,
    "h": 120.6
  },
  "luminance": 0.23433
}

Semantic roles & 50–950 ramp

primary
#788E1E
secondary
#624CBC
accent
#40E861
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #788E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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