#788F13#788F13

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

Color values

HEX#788F13
RGBrgb(120, 143, 19)
HSLhsl(71, 77%, 32%)
HSVhsv(71, 87%, 56%)
CMYKcmyk(16.1%, 0%, 86.7%, 43.9%)
CIE-LABlab(55.77, -23.90, 55.87)
CIE-LCHlch(55.77, 60.77, 113.17°)
OKLaboklab(61.06% -0.0715 0.1207)
OKLCHoklch(61.06% 0.14 120.7)
XYZxyz(17.6861, 23.6850, 4.2559)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788F13 #2A138F
analogous
#8F6813 #788F13 #3A8F13
triadic
#788F13 #13788F #8F1378
tetradic
#788F13 #138F68 #2A138F #8F133A
square
#788F13 #138F68 #2A138F #8F133A
split-complementary
#788F13 #133A8F #68138F
monochromatic
#1D2305 #4B590C #788F13 #A5C51A #C5E538

Accessibility & contrast

On white

3.66
#788F13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#788F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788F13
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788F13#FFFFFF#000000##000000
##788F131.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#968622
Tritanopia (blue-blind)
#7F8779
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #788f13;
/* rgb */ color: rgb(120, 143, 19);
/* oklch */ color: oklch(61.1% 0.140 120.7);
Tailwind
colors: {
  custom: {
    50: '#a3af60',
    500: '#788f13',
    950: '#000000',
  },
}
SCSS
$custom: #788f13;
$custom-light: #a3af60;
$custom-dark: #000000;
JSON
{
  "hex": "#788f13",
  "rgb": {
    "r": 120,
    "g": 143,
    "b": 19
  },
  "hsl": {
    "h": 71.129,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.14027,
    "h": 120.7
  },
  "luminance": 0.23685
}

Semantic roles & 50–950 ramp

primary
#788F13
secondary
#543BC3
accent
#35F358
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #788F13

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

Preview Lab → · Contrast checker → · Palette generator →

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