#789232#789232

#789232 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 62.0% C 0.126 H 123.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#789232
RGBrgb(120, 146, 50)
HSLhsl(76, 49%, 38%)
HSVhsv(76, 66%, 57%)
CMYKcmyk(17.8%, 0%, 65.8%, 42.7%)
CIE-LABlab(56.86, -23.77, 46.19)
CIE-LCHlch(56.86, 51.95, 117.23°)
OKLaboklab(62% -0.0686 0.1054)
OKLCHoklch(62% 0.126 123)
XYZxyz(18.6005, 24.7810, 6.8203)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789232 #4C3292
analogous
#927C32 #789232 #489232
triadic
#789232 #327892 #923278
tetradic
#789232 #32927C #4C3292 #923248
square
#789232 #32927C #4C3292 #923248
split-complementary
#789232 #324892 #7C3292
monochromatic
#2D3713 #536422 #789232 #9DBF43 #B5CE70

Accessibility & contrast

On white

3.53
#789232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#789232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789232
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789232#FFFFFF#000000##000000
##7892321.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8926
Deuteranopia (green-blind)
#978839
Tritanopia (blue-blind)
#7E8B7E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #789232;
/* rgb */ color: rgb(120, 146, 50);
/* oklch */ color: oklch(62.0% 0.126 123.0);
Tailwind
colors: {
  custom: {
    50: '#a1b26f',
    500: '#789232',
    950: '#000000',
  },
}
SCSS
$custom: #789232;
$custom-light: #a1b26f;
$custom-dark: #000000;
JSON
{
  "hex": "#789232",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 50
  },
  "hsl": {
    "h": 76.25,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61998,
    "c": 0.12572,
    "h": 123
  },
  "luminance": 0.24781
}

Semantic roles & 50–950 ramp

primary
#789232
secondary
#7E6AB6
accent
#4FD974
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #789232

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

Preview Lab → · Contrast checker → · Palette generator →

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