#788D10#788D10

#788D10 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.6% C 0.139 H 119.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#788D10
RGBrgb(120, 141, 16)
HSLhsl(70, 80%, 31%)
HSVhsv(70, 89%, 55%)
CMYKcmyk(14.9%, 0%, 88.7%, 44.7%)
CIE-LABlab(55.16, -22.99, 56.03)
CIE-LCHlch(55.16, 60.56, 112.31°)
OKLaboklab(60.56% -0.0692 0.1205)
OKLCHoklch(60.56% 0.139 119.9)
XYZxyz(17.3645, 23.0803, 4.0303)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788D10 #25108D
analogous
#8D6310 #788D10 #398D10
triadic
#788D10 #10788D #8D1078
tetradic
#788D10 #108D63 #25108D #8D1039
square
#788D10 #108D63 #25108D #8D1039
split-complementary
#788D10 #10398D #63108D
monochromatic
#1A1F04 #49560A #788D10 #A7C416 #C9E730

Accessibility & contrast

On white

3.74
#788D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#788D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788D10
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788D10#FFFFFF#000000##000000
##788D101.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#948420
Tritanopia (blue-blind)
#808578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #788d10;
/* rgb */ color: rgb(120, 141, 16);
/* oklch */ color: oklch(60.6% 0.139 119.9);
Tailwind
colors: {
  custom: {
    50: '#a3ae5f',
    500: '#788d10',
    950: '#000000',
  },
}
SCSS
$custom: #788d10;
$custom-light: #a3ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#788d10",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 70.08,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.13899,
    "h": 119.9
  },
  "luminance": 0.2308
}

Semantic roles & 50–950 ramp

primary
#788D10
secondary
#4E37C2
accent
#32F653
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #788D10

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

Preview Lab → · Contrast checker → · Palette generator →

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