#788E14#788E14

#788E14 is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.8% C 0.139 H 120.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#788E14
RGBrgb(120, 142, 20)
HSLhsl(71, 75%, 32%)
HSVhsv(71, 86%, 56%)
CMYKcmyk(15.5%, 0%, 85.9%, 44.3%)
CIE-LABlab(55.47, -23.37, 55.37)
CIE-LCHlch(55.47, 60.10, 112.88°)
OKLaboklab(60.82% -0.07 0.1198)
OKLCHoklch(60.82% 0.139 120.3)
XYZxyz(17.5454, 23.3896, 4.2520)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788E14 #2A148E
analogous
#8E6714 #788E14 #3B8E14
triadic
#788E14 #14788E #8E1478
tetradic
#788E14 #148E67 #2A148E #8E143B
square
#788E14 #148E67 #2A148E #8E143B
split-complementary
#788E14 #143B8E #67148E
monochromatic
#1D2305 #4B580C #788E14 #A5C41C #C5E339

Accessibility & contrast

On white

3.70
#788E14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#788E14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788E14
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788E14#FFFFFF#000000##000000
##788E141.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #788e14;
/* rgb */ color: rgb(120, 142, 20);
/* oklch */ color: oklch(60.8% 0.139 120.3);
Tailwind
colors: {
  custom: {
    50: '#a3af60',
    500: '#788e14',
    950: '#000000',
  },
}
SCSS
$custom: #788e14;
$custom-light: #a3af60;
$custom-dark: #000000;
JSON
{
  "hex": "#788e14",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 70.82,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60819,
    "c": 0.13872,
    "h": 120.3
  },
  "luminance": 0.2339
}

Semantic roles & 50–950 ramp

primary
#788E14
secondary
#543CC2
accent
#36F258
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #788E14

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

Preview Lab → · Contrast checker → · Palette generator →

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