#788730#788730

#788730 is a mid, moderate yellow-green. Relative luminance 0.215; OKLCH L 59.3% C 0.113 H 118.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#788730
RGBrgb(120, 135, 48)
HSLhsl(70, 48%, 36%)
HSVhsv(70, 64%, 53%)
CMYKcmyk(11.1%, 0%, 64.4%, 47.1%)
CIE-LABlab(53.53, -18.30, 43.52)
CIE-LCHlch(53.53, 47.21, 112.80°)
OKLaboklab(59.31% -0.0535 0.0995)
OKLCHoklch(59.31% 0.113 118.3)
XYZxyz(16.9435, 21.5346, 6.0597)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788730 #3F3087
analogous
#876A30 #788730 #4C8730
triadic
#788730 #307887 #873078
tetradic
#788730 #30876A #3F3087 #87304C
square
#788730 #30876A #3F3087 #87304C
split-complementary
#788730 #304C87 #6A3087
monochromatic
#282D10 #505A20 #788730 #A0B440 #B9C968

Accessibility & contrast

On white

3.96
#788730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#788730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788730
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788730#FFFFFF#000000##000000
##7887301.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#7F8075
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #788730;
/* rgb */ color: rgb(120, 135, 48);
/* oklch */ color: oklch(59.3% 0.113 118.3);
Tailwind
colors: {
  custom: {
    50: '#a1a96d',
    500: '#788730',
    950: '#000000',
  },
}
SCSS
$custom: #788730;
$custom-light: #a1a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#788730",
  "rgb": {
    "r": 120,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 70.345,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5931,
    "c": 0.11295,
    "h": 118.3
  },
  "luminance": 0.21534
}

Semantic roles & 50–950 ramp

primary
#788730
secondary
#7062B1
accent
#51D768
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #788730

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

Preview Lab → · Contrast checker → · Palette generator →

#788730 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva