#5B942E#5B942E

#5B942E is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.6% C 0.146 H 134.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5B942E
RGBrgb(91, 148, 46)
HSLhsl(94, 53%, 38%)
HSVhsv(94, 69%, 58%)
CMYKcmyk(38.5%, 0%, 68.9%, 42%)
CIE-LABlab(55.69, -36.42, 46.12)
CIE-LCHlch(55.69, 58.77, 128.30°)
OKLaboklab(60.57% -0.1018 0.1052)
OKLCHoklch(60.57% 0.146 134.1)
XYZxyz(15.3971, 23.6005, 6.3283)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B942E #672E94
analogous
#8E942E #5B942E #2E9434
triadic
#5B942E #2E5B94 #942E5B
tetradic
#5B942E #2E8E94 #672E94 #94342E
square
#5B942E #2E8E94 #672E94 #94342E
split-complementary
#5B942E #342E94 #942E8E
monochromatic
#223711 #3E651F #5B942E #78C33D #98D16B

Accessibility & contrast

On white

3.67
#5B942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5B942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B942E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B942E#FFFFFF#000000##000000
##5B942E1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b942e;
/* rgb */ color: rgb(91, 148, 46);
/* oklch */ color: oklch(60.6% 0.146 134.1);
Tailwind
colors: {
  custom: {
    50: '#8eb46c',
    500: '#5b942e',
    950: '#000000',
  },
}
SCSS
$custom: #5b942e;
$custom-light: #8eb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b942e",
  "rgb": {
    "r": 91,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 93.529,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6057,
    "c": 0.14638,
    "h": 134.1
  },
  "luminance": 0.23601
}

Semantic roles & 50–950 ramp

primary
#5B942E
secondary
#9466B8
accent
#4CDC9C
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B942E

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

Preview Lab → · Contrast checker → · Palette generator →

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