#515F1B#515F1B

#515F1B is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.9% C 0.093 H 120.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#515F1B
RGBrgb(81, 95, 27)
HSLhsl(72, 56%, 24%)
HSVhsv(72, 72%, 37%)
CMYKcmyk(14.7%, 0%, 71.6%, 62.7%)
CIE-LABlab(37.87, -15.99, 35.54)
CIE-LCHlch(37.87, 38.97, 114.22°)
OKLaboklab(45.89% -0.0468 0.0803)
OKLCHoklch(45.89% 0.093 120.2)
XYZxyz(7.6835, 10.0129, 2.5646)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F1B #291B5F
analogous
#5F4B1B #515F1B #2F5F1B
triadic
#515F1B #1B515F #5F1B51
tetradic
#515F1B #1B5F4B #291B5F #5F1B2F
square
#515F1B #1B5F4B #291B5F #5F1B2F
split-complementary
#515F1B #1B2F5F #4B1B5F
monochromatic
#141807 #282F0D #515F1B #7A8F29 #A2BE36

Accessibility & contrast

On white

6.99
#515F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#515F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515F1B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F1B#FFFFFF#000000##FFFFFF
##515F1B1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655911
Deuteranopia (green-blind)
#645920
Tritanopia (blue-blind)
#565A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f1b;
/* rgb */ color: rgb(81, 95, 27);
/* oklch */ color: oklch(45.9% 0.093 120.2);
Tailwind
colors: {
  custom: {
    50: '#848c5c',
    500: '#515f1b',
    950: '#000000',
  },
}
SCSS
$custom: #515f1b;
$custom-light: #848c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#515f1b",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 72.353,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.09294,
    "h": 120.2
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#515F1B
secondary
#524195
accent
#49DF68
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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