#515F25#515F25

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

Color values

HEX#515F25
RGBrgb(81, 95, 37)
HSLhsl(74, 44%, 26%)
HSVhsv(74, 61%, 37%)
CMYKcmyk(14.7%, 0%, 61.1%, 62.7%)
CIE-LABlab(37.96, -15.14, 30.80)
CIE-LCHlch(37.96, 34.32, 116.17°)
OKLaboklab(46% -0.0433 0.0717)
OKLCHoklch(46% 0.084 121.1)
XYZxyz(7.8196, 10.0673, 3.2811)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F25 #33255F
analogous
#5F5025 #515F25 #345F25
triadic
#515F25 #25515F #5F2551
tetradic
#515F25 #255F50 #33255F #5F2534
square
#515F25 #255F50 #33255F #5F2534
split-complementary
#515F25 #25345F #50255F
monochromatic
#131609 #2B3314 #515F25 #778B36 #9CB747

Accessibility & contrast

On white

6.97
#515F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#515F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515F25
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F25#FFFFFF#000000##FFFFFF
##515F251.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A1F
Deuteranopia (green-blind)
#635929
Tritanopia (blue-blind)
#555A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f25;
/* rgb */ color: rgb(81, 95, 37);
/* oklch */ color: oklch(46.0% 0.084 121.1);
Tailwind
colors: {
  custom: {
    50: '#838c62',
    500: '#515f25',
    950: '#000000',
  },
}
SCSS
$custom: #515f25;
$custom-light: #838c62;
$custom-dark: #000000;
JSON
{
  "hex": "#515f25",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 37
  },
  "hsl": {
    "h": 74.483,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45998,
    "c": 0.0838,
    "h": 121.1
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#515F25
secondary
#5E4D92
accent
#54D473
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #515F25

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

Preview Lab → · Contrast checker → · Palette generator →

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