#789126#789126

#789126 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.7% C 0.133 H 122.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#789126
RGBrgb(120, 145, 38)
HSLhsl(74, 58%, 36%)
HSVhsv(74, 74%, 57%)
CMYKcmyk(17.2%, 0%, 73.8%, 43.1%)
CIE-LABlab(56.47, -24.07, 50.66)
CIE-LCHlch(56.47, 56.09, 115.41°)
OKLaboklab(61.65% -0.0705 0.1129)
OKLCHoklch(61.65% 0.133 122)
XYZxyz(18.2212, 24.3838, 5.5800)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789126 #3F2691
analogous
#917426 #789126 #429126
triadic
#789126 #267891 #912678
tetradic
#789126 #269174 #3F2691 #912642
square
#789126 #269174 #3F2691 #912642
split-complementary
#789126 #264291 #742691
monochromatic
#28300D #506119 #789126 #A0C133 #B9D55D

Accessibility & contrast

On white

3.57
#789126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#789126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789126
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789126#FFFFFF#000000##000000
##7891261.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8812
Deuteranopia (green-blind)
#97872F
Tritanopia (blue-blind)
#7F897C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #789126;
/* rgb */ color: rgb(120, 145, 38);
/* oklch */ color: oklch(61.7% 0.133 122.0);
Tailwind
colors: {
  custom: {
    50: '#a2b168',
    500: '#789126',
    950: '#000000',
  },
}
SCSS
$custom: #789126;
$custom-light: #a2b168;
$custom-dark: #000000;
JSON
{
  "hex": "#789126",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 74.019,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61653,
    "c": 0.13311,
    "h": 122
  },
  "luminance": 0.24384
}

Semantic roles & 50–950 ramp

primary
#789126
secondary
#7059BA
accent
#46E26A
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #789126

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

Preview Lab → · Contrast checker → · Palette generator →

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