#789230#789230

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

Color values

HEX#789230
RGBrgb(120, 146, 48)
HSLhsl(76, 51%, 38%)
HSVhsv(76, 67%, 57%)
CMYKcmyk(17.8%, 0%, 67.1%, 42.7%)
CIE-LABlab(56.84, -23.92, 47.04)
CIE-LCHlch(56.84, 52.77, 116.95°)
OKLaboklab(61.98% -0.0692 0.1069)
OKLCHoklch(61.98% 0.127 122.9)
XYZxyz(18.5583, 24.7642, 6.5980)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789230 #4A3092
analogous
#927B30 #789230 #479230
triadic
#789230 #307892 #923078
tetradic
#789230 #30927B #4A3092 #923047
square
#789230 #30927B #4A3092 #923047
split-complementary
#789230 #304792 #7B3092
monochromatic
#2C3612 #526421 #789230 #9EC03F #B5CF6D

Accessibility & contrast

On white

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

On black

5.95
#789230 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789230
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789230#FFFFFF#000000##000000
##7892301.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #789230;
/* rgb */ color: rgb(120, 146, 48);
/* oklch */ color: oklch(62.0% 0.127 122.9);
Tailwind
colors: {
  custom: {
    50: '#a2b26e',
    500: '#789230',
    950: '#000000',
  },
}
SCSS
$custom: #789230;
$custom-light: #a2b26e;
$custom-dark: #000000;
JSON
{
  "hex": "#789230",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 48
  },
  "hsl": {
    "h": 75.918,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61979,
    "c": 0.1273,
    "h": 122.9
  },
  "luminance": 0.24764
}

Semantic roles & 50–950 ramp

primary
#789230
secondary
#7C67B7
accent
#4EDA73
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #789230

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

Preview Lab → · Contrast checker → · Palette generator →

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