#789726#789726

#789726 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 63.1% C 0.141 H 124.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#789726
RGBrgb(120, 151, 38)
HSLhsl(76, 60%, 37%)
HSVhsv(76, 75%, 59%)
CMYKcmyk(20.5%, 0%, 74.8%, 40.8%)
CIE-LABlab(58.29, -27.03, 52.43)
CIE-LCHlch(58.29, 58.98, 117.27°)
OKLaboklab(63.12% -0.0786 0.1166)
OKLCHoklch(63.12% 0.141 124)
XYZxyz(19.1624, 26.2661, 5.8937)
Luminance0.2627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789726 #452697
analogous
#977E26 #789726 #409726
triadic
#789726 #267897 #972678
tetradic
#789726 #26977E #452697 #972640
square
#789726 #26977E #452697 #972640
split-complementary
#789726 #264097 #7E2697
monochromatic
#2A350D #51661A #789726 #9FC832 #B6D760

Accessibility & contrast

On white

3.36
#789726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#789726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789726
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789726#FFFFFF#000000##000000
##7897261.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D0F
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#7E8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #789726;
/* rgb */ color: rgb(120, 151, 38);
/* oklch */ color: oklch(63.1% 0.141 124.0);
Tailwind
colors: {
  custom: {
    50: '#a2b569',
    500: '#789726',
    950: '#000000',
  },
}
SCSS
$custom: #789726;
$custom-light: #a2b569;
$custom-dark: #000000;
JSON
{
  "hex": "#789726",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 76.46,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63123,
    "c": 0.14065,
    "h": 124
  },
  "luminance": 0.26266
}

Semantic roles & 50–950 ramp

primary
#789726
secondary
#775CBC
accent
#45E370
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789726

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

Preview Lab → · Contrast checker → · Palette generator →

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