#788E11#788E11

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

Color values

HEX#788E11
RGBrgb(120, 142, 17)
HSLhsl(71, 79%, 31%)
HSVhsv(71, 88%, 56%)
CMYKcmyk(15.5%, 0%, 88%, 44.3%)
CIE-LABlab(55.46, -23.46, 56.07)
CIE-LCHlch(55.46, 60.78, 112.71°)
OKLaboklab(60.81% -0.0704 0.1208)
OKLCHoklch(60.81% 0.14 120.2)
XYZxyz(17.5203, 23.3796, 4.1199)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788E11 #27118E
analogous
#8E6511 #788E11 #398E11
triadic
#788E11 #11788E #8E1178
tetradic
#788E11 #118E65 #27118E #8E1139
square
#788E11 #118E65 #27118E #8E1139
split-complementary
#788E11 #11398E #65118E
monochromatic
#1C2104 #4A570A #788E11 #A6C518 #C7E733

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788E11#FFFFFF#000000##000000
##788E111.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)
#958521
Tritanopia (blue-blind)
#808679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #788e11;
/* rgb */ color: rgb(120, 142, 17);
/* oklch */ color: oklch(60.8% 0.140 120.2);
Tailwind
colors: {
  custom: {
    50: '#a3af5f',
    500: '#788e11',
    950: '#000000',
  },
}
SCSS
$custom: #788e11;
$custom-light: #a3af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#788e11",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 70.56,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.13981,
    "h": 120.2
  },
  "luminance": 0.2338
}

Semantic roles & 50–950 ramp

primary
#788E11
secondary
#5138C2
accent
#33F555
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #788E11

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

Preview Lab → · Contrast checker → · Palette generator →

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