#5A9746#5A9746

#5A9746 is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.6% C 0.131 H 138.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5A9746
RGBrgb(90, 151, 70)
HSLhsl(105, 37%, 43%)
HSVhsv(105, 54%, 59%)
CMYKcmyk(40.4%, 0%, 53.6%, 40.8%)
CIE-LABlab(56.83, -35.63, 36.22)
CIE-LCHlch(56.83, 50.81, 134.53°)
OKLaboklab(61.57% -0.0978 0.0865)
OKLCHoklch(61.57% 0.131 138.5)
XYZxyz(16.3880, 24.7482, 9.7065)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9746 #834697
analogous
#829746 #5A9746 #46975A
triadic
#5A9746 #465A97 #97465A
tetradic
#5A9746 #468297 #834697 #975A46
square
#5A9746 #468297 #834697 #975A46
split-complementary
#5A9746 #5A4697 #974682
monochromatic
#28431F #416D33 #5A9746 #78B763 #9CCA8D

Accessibility & contrast

On white

3.53
#5A9746 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5A9746 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A9746#FFFFFF#000000##000000
##5A97461.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)
#9B8C3F
Deuteranopia (green-blind)
#93864C
Tritanopia (blue-blind)
#569285
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a9746;
/* rgb */ color: rgb(90, 151, 70);
/* oklch */ color: oklch(61.6% 0.131 138.5);
Tailwind
colors: {
  custom: {
    50: '#8cb67b',
    500: '#5a9746',
    950: '#000000',
  },
}
SCSS
$custom: #5a9746;
$custom-light: #8cb67b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9746",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 70
  },
  "hsl": {
    "h": 105.185,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.13057,
    "h": 138.5
  },
  "luminance": 0.24749
}

Semantic roles & 50–950 ramp

primary
#5A9746
secondary
#A983B6
accent
#5BCDB1
background
#F8FBF7
surface
#F0F6EE
border
#CBD0C9
text
#0C1109
muted
#7D807B

Preview Lab

Preview with #5A9746

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

Preview Lab → · Contrast checker → · Palette generator →

#5A9746 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva