#515E11#515E11

#515E11 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.5% C 0.099 H 119.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#515E11
RGBrgb(81, 94, 17)
HSLhsl(70, 69%, 22%)
HSVhsv(70, 82%, 37%)
CMYKcmyk(13.8%, 0%, 81.9%, 63.1%)
CIE-LABlab(37.47, -16.05, 39.20)
CIE-LCHlch(37.47, 42.36, 112.27°)
OKLaboklab(45.55% -0.048 0.0862)
OKLCHoklch(45.55% 0.099 119.1)
XYZxyz(7.4974, 9.7953, 2.0259)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E11 #1E115E
analogous
#5E4511 #515E11 #2B5E11
triadic
#515E11 #11515E #5E1151
tetradic
#515E11 #115E45 #1E115E #5E112B
square
#515E11 #115E45 #1E115E #5E112B
split-complementary
#515E11 #112B5E #45115E
monochromatic
#161A05 #242A08 #515E11 #7E921A #AAC624

Accessibility & contrast

On white

7.10
#515E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515E11
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515E11#FFFFFF#000000##FFFFFF
##515E111.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655801
Deuteranopia (green-blind)
#635818
Tritanopia (blue-blind)
#565850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515e11;
/* rgb */ color: rgb(81, 94, 17);
/* oklch */ color: oklch(45.5% 0.099 119.1);
Tailwind
colors: {
  custom: {
    50: '#858b56',
    500: '#515e11',
    950: '#000000',
  },
}
SCSS
$custom: #515e11;
$custom-light: #858b56;
$custom-dark: #000000;
JSON
{
  "hex": "#515e11",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 70.13,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45549,
    "c": 0.09862,
    "h": 119.1
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#515E11
secondary
#453497
accent
#3CEC59
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #515E11

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

Preview Lab → · Contrast checker → · Palette generator →

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