#515F13#515F13

#515F13 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.8% C 0.099 H 119.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#515F13
RGBrgb(81, 95, 19)
HSLhsl(71, 67%, 22%)
HSVhsv(71, 80%, 37%)
CMYKcmyk(14.7%, 0%, 80%, 62.7%)
CIE-LABlab(37.81, -16.49, 38.78)
CIE-LCHlch(37.81, 42.14, 113.04°)
OKLaboklab(45.82% -0.049 0.0857)
OKLCHoklch(45.82% 0.099 119.8)
XYZxyz(7.6032, 9.9808, 2.1419)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F13 #21135F
analogous
#5F4713 #515F13 #2B5F13
triadic
#515F13 #13515F #5F1351
tetradic
#515F13 #135F47 #21135F #5F132B
square
#515F13 #135F47 #21135F #5F132B
split-complementary
#515F13 #132B5F #47135F
monochromatic
#161A05 #262C09 #515F13 #7C921D #A8C527

Accessibility & contrast

On white

7.01
#515F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515F13
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F13#FFFFFF#000000##FFFFFF
##515F131.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665903
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#565951
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f13;
/* rgb */ color: rgb(81, 95, 19);
/* oklch */ color: oklch(45.8% 0.099 119.8);
Tailwind
colors: {
  custom: {
    50: '#848c57',
    500: '#515f13',
    950: '#000000',
  },
}
SCSS
$custom: #515f13;
$custom-light: #848c57;
$custom-dark: #000000;
JSON
{
  "hex": "#515f13",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 71.053,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45823,
    "c": 0.0987,
    "h": 119.8
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#515F13
secondary
#493797
accent
#3EEA5E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #515F13

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

Preview Lab → · Contrast checker → · Palette generator →

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