#515F28#515F28

#515F28 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 46.0% C 0.081 H 121.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#515F28
RGBrgb(81, 95, 40)
HSLhsl(75, 41%, 26%)
HSVhsv(75, 58%, 37%)
CMYKcmyk(14.7%, 0%, 57.9%, 62.7%)
CIE-LABlab(38.00, -14.83, 29.27)
CIE-LCHlch(38.00, 32.81, 116.88°)
OKLaboklab(46.04% -0.0422 0.0688)
OKLCHoklch(46.04% 0.081 121.5)
XYZxyz(7.8686, 10.0869, 3.5395)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F28 #36285F
analogous
#5F5228 #515F28 #365F28
triadic
#515F28 #28515F #5F2851
tetradic
#515F28 #285F52 #36285F #5F2836
square
#515F28 #285F52 #36285F #5F2836
split-complementary
#515F28 #28365F #52285F
monochromatic
#121609 #2C3416 #515F28 #768A3A #9AB44D

Accessibility & contrast

On white

6.96
#515F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#515F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515F28
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F28#FFFFFF#000000##FFFFFF
##515F281.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A23
Deuteranopia (green-blind)
#63592B
Tritanopia (blue-blind)
#555A53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f28;
/* rgb */ color: rgb(81, 95, 40);
/* oklch */ color: oklch(46.0% 0.081 121.5);
Tailwind
colors: {
  custom: {
    50: '#838c64',
    500: '#515f28',
    950: '#000000',
  },
}
SCSS
$custom: #515f28;
$custom-light: #838c64;
$custom-dark: #000000;
JSON
{
  "hex": "#515f28",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 75.273,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46037,
    "c": 0.08068,
    "h": 121.5
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#515F28
secondary
#625192
accent
#57D176
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C05
muted
#7C7D7A

Preview Lab

Preview with #515F28

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

Preview Lab → · Contrast checker → · Palette generator →

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