#515E18#515E18

#515E18 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.6% C 0.094 H 119.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#515E18
RGBrgb(81, 94, 24)
HSLhsl(71, 59%, 23%)
HSVhsv(71, 74%, 37%)
CMYKcmyk(13.8%, 0%, 74.5%, 63.1%)
CIE-LABlab(37.52, -15.64, 36.50)
CIE-LCHlch(37.52, 39.71, 113.20°)
OKLaboklab(45.6% -0.0462 0.0818)
OKLCHoklch(45.6% 0.094 119.4)
XYZxyz(7.5611, 9.8207, 2.3612)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E18 #25185E
analogous
#5E4818 #515E18 #2E5E18
triadic
#515E18 #18515E #5E1851
tetradic
#515E18 #185E48 #25185E #5E182E
square
#515E18 #185E48 #25185E #5E182E
split-complementary
#515E18 #182E5E #48185E
monochromatic
#151806 #272D0C #515E18 #7B8F24 #A5C031

Accessibility & contrast

On white

7.08
#515E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#515E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515E18
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515E18#FFFFFF#000000##FFFFFF
##515E181.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580D
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#565950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515e18;
/* rgb */ color: rgb(81, 94, 24);
/* oklch */ color: oklch(45.6% 0.094 119.4);
Tailwind
colors: {
  custom: {
    50: '#848b5a',
    500: '#515e18',
    950: '#000000',
  },
}
SCSS
$custom: #515e18;
$custom-light: #848b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#515e18",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 71.143,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.09393,
    "h": 119.4
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#515E18
secondary
#4E3D94
accent
#45E362
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515E18

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

Preview Lab → · Contrast checker → · Palette generator →

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