#515E1B#515E1B

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

Color values

HEX#515E1B
RGBrgb(81, 94, 27)
HSLhsl(72, 55%, 24%)
HSVhsv(72, 71%, 37%)
CMYKcmyk(13.8%, 0%, 71.3%, 63.1%)
CIE-LABlab(37.54, -15.44, 35.21)
CIE-LCHlch(37.54, 38.44, 113.67°)
OKLaboklab(45.63% -0.0453 0.0796)
OKLCHoklch(45.63% 0.092 119.6)
XYZxyz(7.5940, 9.8339, 2.5348)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E1B #281B5E
analogous
#5E491B #515E1B #2F5E1B
triadic
#515E1B #1B515E #5E1B51
tetradic
#515E1B #1B5E49 #281B5E #5E1B2F
square
#515E1B #1B5E49 #281B5E #5E1B2F
split-complementary
#515E1B #1B2F5E #491B5E
monochromatic
#141807 #282E0D #515E1B #7A8E29 #A3BD36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515E1B#FFFFFF#000000##FFFFFF
##515E1B1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645812
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#565950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515e1b;
/* rgb */ color: rgb(81, 94, 27);
/* oklch */ color: oklch(45.6% 0.092 119.6);
Tailwind
colors: {
  custom: {
    50: '#848b5c',
    500: '#515e1b',
    950: '#000000',
  },
}
SCSS
$custom: #515e1b;
$custom-light: #848b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#515e1b",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 71.642,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.09158,
    "h": 119.6
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#515E1B
secondary
#514194
accent
#49DF66
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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