#789222#789222

#789222 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.9% C 0.137 H 122.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#789222
RGBrgb(120, 146, 34)
HSLhsl(74, 62%, 35%)
HSVhsv(74, 77%, 57%)
CMYKcmyk(17.8%, 0%, 76.7%, 42.7%)
CIE-LABlab(56.75, -24.78, 52.36)
CIE-LCHlch(56.75, 57.93, 115.33°)
OKLaboklab(61.87% -0.0728 0.1158)
OKLCHoklch(61.87% 0.137 122.2)
XYZxyz(18.3136, 24.6663, 5.3093)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789222 #3C2292
analogous
#927422 #789222 #409222
triadic
#789222 #227892 #922278
tetradic
#789222 #229274 #3C2292 #922240
square
#789222 #229274 #3C2292 #922240
split-complementary
#789222 #224092 #742292
monochromatic
#262F0B #4F6016 #789222 #A1C42E #BAD857

Accessibility & contrast

On white

3.54
#789222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#789222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789222
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789222#FFFFFF#000000##000000
##7892221.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8907
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#7F8A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #789222;
/* rgb */ color: rgb(120, 146, 34);
/* oklch */ color: oklch(61.9% 0.137 122.2);
Tailwind
colors: {
  custom: {
    50: '#a2b266',
    500: '#789222',
    950: '#000000',
  },
}
SCSS
$custom: #789222;
$custom-light: #a2b266;
$custom-dark: #000000;
JSON
{
  "hex": "#789222",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 73.929,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61871,
    "c": 0.13679,
    "h": 122.2
  },
  "luminance": 0.24666
}

Semantic roles & 50–950 ramp

primary
#789222
secondary
#6C54BC
accent
#43E568
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #789222

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

Preview Lab → · Contrast checker → · Palette generator →

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