#515E16#515E16

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

Color values

HEX#515E16
RGBrgb(81, 94, 22)
HSLhsl(71, 62%, 23%)
HSVhsv(71, 77%, 37%)
CMYKcmyk(13.8%, 0%, 76.6%, 63.1%)
CIE-LABlab(37.50, -15.77, 37.32)
CIE-LCHlch(37.50, 40.52, 112.91°)
OKLaboklab(45.59% -0.0467 0.0832)
OKLCHoklch(45.59% 0.095 119.3)
XYZxyz(7.5410, 9.8127, 2.2557)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515E16 #23165E
analogous
#5E4716 #515E16 #2D5E16
triadic
#515E16 #16515E #5E1651
tetradic
#515E16 #165E47 #23165E #5E162D
square
#515E16 #165E47 #23165E #5E162D
split-complementary
#515E16 #162D5E #47165E
monochromatic
#151906 #262C0A #515E16 #7C9022 #A6C12D

Accessibility & contrast

On white

7.09
#515E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515E16
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515E16#FFFFFF#000000##FFFFFF
##515E161.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645809
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#565950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515e16;
/* rgb */ color: rgb(81, 94, 22);
/* oklch */ color: oklch(45.6% 0.095 119.3);
Tailwind
colors: {
  custom: {
    50: '#848b59',
    500: '#515e16',
    950: '#000000',
  },
}
SCSS
$custom: #515e16;
$custom-light: #848b59;
$custom-dark: #000000;
JSON
{
  "hex": "#515e16",
  "rgb": {
    "r": 81,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 70.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45585,
    "c": 0.09538,
    "h": 119.3
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#515E16
secondary
#4B3B95
accent
#43E560
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515E16

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

Preview Lab → · Contrast checker → · Palette generator →

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