#515E22#515E22

#515E22 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.085 H 120.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#515E22
RGBrgb(81, 94, 34)
HSLhsl(73, 47%, 25%)
HSVhsv(73, 64%, 37%)
CMYKcmyk(13.8%, 0%, 63.8%, 63.1%)
CIE-LABlab(37.61, -14.86, 31.93)
CIE-LCHlch(37.61, 35.22, 114.96°)
OKLaboklab(45.7% -0.0429 0.0737)
OKLCHoklch(45.7% 0.085 120.2)
XYZxyz(7.6849, 9.8703, 3.0134)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E22 #2F225E
analogous
#5E4D22 #515E22 #335E22
triadic
#515E22 #22515E #5E2251
tetradic
#515E22 #225E4D #2F225E #5E2233
square
#515E22 #225E4D #2F225E #5E2233
split-complementary
#515E22 #22335E #4D225E
monochromatic
#131608 #2A3112 #515E22 #788B32 #9EB843

Accessibility & contrast

On white

7.06
#515E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#515E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515E22
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515E22#FFFFFF#000000##FFFFFF
##515E221.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591B
Deuteranopia (green-blind)
#625926
Tritanopia (blue-blind)
#555951
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515e22;
/* rgb */ color: rgb(81, 94, 34);
/* oklch */ color: oklch(45.7% 0.085 120.2);
Tailwind
colors: {
  custom: {
    50: '#848b60',
    500: '#515e22',
    950: '#000000',
  },
}
SCSS
$custom: #515e22;
$custom-light: #848b60;
$custom-dark: #000000;
JSON
{
  "hex": "#515e22",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 34
  },
  "hsl": {
    "h": 73,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.08532,
    "h": 120.2
  },
  "luminance": 0.0987
}

Semantic roles & 50–950 ramp

primary
#515E22
secondary
#594A92
accent
#51D76E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #515E22

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

Preview Lab → · Contrast checker → · Palette generator →

#515E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva