#788F1E#788F1E

#788F1E is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.135 H 120.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#788F1E
RGBrgb(120, 143, 30)
HSLhsl(72, 65%, 34%)
HSVhsv(72, 79%, 56%)
CMYKcmyk(16.1%, 0%, 79%, 43.9%)
CIE-LABlab(55.82, -23.48, 52.83)
CIE-LCHlch(55.82, 57.81, 113.97°)
OKLaboklab(61.11% -0.0696 0.1161)
OKLCHoklch(61.11% 0.135 120.9)
XYZxyz(17.8029, 23.7318, 4.8708)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788F1E #351E8F
analogous
#8F6E1E #788F1E #408F1E
triadic
#788F1E #1E788F #8F1E78
tetradic
#788F1E #1E8F6E #351E8F #8F1E40
square
#788F1E #1E8F6E #351E8F #8F1E40
split-complementary
#788F1E #1E408F #6E1E8F
monochromatic
#232A09 #4E5C13 #788F1E #A2C229 #BDDA4E

Accessibility & contrast

On white

3.65
#788F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#788F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788F1E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788F1E#FFFFFF#000000##000000
##788F1E1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#7F877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #788f1e;
/* rgb */ color: rgb(120, 143, 30);
/* oklch */ color: oklch(61.1% 0.135 120.9);
Tailwind
colors: {
  custom: {
    50: '#a2af64',
    500: '#788f1e',
    950: '#000000',
  },
}
SCSS
$custom: #788f1e;
$custom-light: #a2af64;
$custom-dark: #000000;
JSON
{
  "hex": "#788f1e",
  "rgb": {
    "r": 120,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 72.212,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61113,
    "c": 0.13534,
    "h": 120.9
  },
  "luminance": 0.23732
}

Semantic roles & 50–950 ramp

primary
#788F1E
secondary
#634CBC
accent
#40E862
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #788F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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