#5A942E#5A942E

#5A942E is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.5% C 0.147 H 134.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5A942E
RGBrgb(90, 148, 46)
HSLhsl(94, 53%, 38%)
HSVhsv(94, 69%, 58%)
CMYKcmyk(39.2%, 0%, 68.9%, 42%)
CIE-LABlab(55.63, -36.78, 46.06)
CIE-LCHlch(55.63, 58.94, 128.61°)
OKLaboklab(60.51% -0.1027 0.1051)
OKLCHoklch(60.51% 0.147 134.4)
XYZxyz(15.2992, 23.5500, 6.3237)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A942E #682E94
analogous
#8D942E #5A942E #2E9435
triadic
#5A942E #2E5A94 #942E5A
tetradic
#5A942E #2E8D94 #682E94 #94352E
square
#5A942E #2E8D94 #682E94 #94352E
split-complementary
#5A942E #352E94 #942E8D
monochromatic
#213711 #3E651F #5A942E #76C33D #97D16B

Accessibility & contrast

On white

3.68
#5A942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5A942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A942E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A942E#FFFFFF#000000##000000
##5A942E1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8820
Deuteranopia (green-blind)
#928437
Tritanopia (blue-blind)
#598E7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5a942e;
/* rgb */ color: rgb(90, 148, 46);
/* oklch */ color: oklch(60.5% 0.147 134.4);
Tailwind
colors: {
  custom: {
    50: '#8db46c',
    500: '#5a942e',
    950: '#000000',
  },
}
SCSS
$custom: #5a942e;
$custom-light: #8db46c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a942e",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 94.118,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60515,
    "c": 0.14692,
    "h": 134.4
  },
  "luminance": 0.23551
}

Semantic roles & 50–950 ramp

primary
#5A942E
secondary
#9566B8
accent
#4CDC9E
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0D1107
muted
#7D807A

Preview Lab

Preview with #5A942E

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

Preview Lab → · Contrast checker → · Palette generator →

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