#788E13#788E13

#788E13 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#788E13
RGBrgb(120, 142, 19)
HSLhsl(71, 76%, 32%)
HSVhsv(71, 87%, 56%)
CMYKcmyk(15.5%, 0%, 86.6%, 44.3%)
CIE-LABlab(55.47, -23.40, 55.61)
CIE-LCHlch(55.47, 60.34, 112.82°)
OKLaboklab(60.82% -0.0702 0.1201)
OKLCHoklch(60.82% 0.139 120.3)
XYZxyz(17.5366, 23.3861, 4.2061)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788E13 #29138E
analogous
#8E6713 #788E13 #3A8E13
triadic
#788E13 #13788E #8E1378
tetradic
#788E13 #138E67 #29138E #8E133A
square
#788E13 #138E67 #29138E #8E133A
split-complementary
#788E13 #133A8E #67138E
monochromatic
#1D2205 #4A580C #788E13 #A6C41A #C5E437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788E13#FFFFFF#000000##000000
##788E131.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: #788e13;
/* rgb */ color: rgb(120, 142, 19);
/* oklch */ color: oklch(60.8% 0.139 120.3);
Tailwind
colors: {
  custom: {
    50: '#a3af60',
    500: '#788e13',
    950: '#000000',
  },
}
SCSS
$custom: #788e13;
$custom-light: #a3af60;
$custom-dark: #000000;
JSON
{
  "hex": "#788e13",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 70.732,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60815,
    "c": 0.1391,
    "h": 120.3
  },
  "luminance": 0.23386
}

Semantic roles & 50–950 ramp

primary
#788E13
secondary
#533BC2
accent
#35F357
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #788E13

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

Preview Lab → · Contrast checker → · Palette generator →

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