#537822#537822

#537822 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.7% C 0.121 H 129.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#537822
RGBrgb(83, 120, 34)
HSLhsl(86, 56%, 30%)
HSVhsv(86, 72%, 47%)
CMYKcmyk(30.8%, 0%, 71.7%, 52.9%)
CIE-LABlab(46.16, -27.47, 41.10)
CIE-LCHlch(46.16, 49.43, 123.76°)
OKLaboklab(52.66% -0.0778 0.093)
OKLCHoklch(52.66% 0.121 129.9)
XYZxyz(10.5724, 15.3871, 3.9260)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#537822 #472278
analogous
#787222 #537822 #287822
triadic
#537822 #225378 #782253
tetradic
#537822 #227872 #472278 #782228
square
#537822 #227872 #472278 #782228
split-complementary
#537822 #222878 #722278
monochromatic
#111907 #324814 #537822 #74A830 #93CB49

Accessibility & contrast

On white

5.15
#537822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#537822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #537822
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##537822#FFFFFF#000000##FFFFFF
##5378221.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#796C29
Tritanopia (blue-blind)
#557367
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #537822;
/* rgb */ color: rgb(83, 120, 34);
/* oklch */ color: oklch(52.7% 0.121 129.9);
Tailwind
colors: {
  custom: {
    50: '#879f63',
    500: '#537822',
    950: '#000000',
  },
}
SCSS
$custom: #537822;
$custom-light: #879f63;
$custom-dark: #000000;
JSON
{
  "hex": "#537822",
  "rgb": {
    "r": 83,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 85.814,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52656,
    "c": 0.12132,
    "h": 129.9
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#537822
secondary
#744BAB
accent
#49DF89
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #537822

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

Preview Lab → · Contrast checker → · Palette generator →

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