#515F10#515F10

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

Color values

HEX#515F10
RGBrgb(81, 95, 16)
HSLhsl(71, 71%, 22%)
HSVhsv(71, 83%, 37%)
CMYKcmyk(14.7%, 0%, 83.2%, 62.7%)
CIE-LABlab(37.79, -16.65, 39.84)
CIE-LCHlch(37.79, 43.17, 112.68°)
OKLaboklab(45.8% -0.0497 0.0873)
OKLCHoklch(45.8% 0.1 119.6)
XYZxyz(7.5792, 9.9712, 2.0155)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F10 #1E105F
analogous
#5F4610 #515F10 #2A5F10
triadic
#515F10 #10515F #5F1051
tetradic
#515F10 #105F46 #1E105F #5F102A
square
#515F10 #105F46 #1E105F #5F102A
split-complementary
#515F10 #102A5F #46105F
monochromatic
#161A04 #242B07 #515F10 #7E9319 #AAC822

Accessibility & contrast

On white

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

On black

2.99
#515F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##515F10#FFFFFF#000000##FFFFFF
##515F101.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#645918
Tritanopia (blue-blind)
#565950
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f10;
/* rgb */ color: rgb(81, 95, 16);
/* oklch */ color: oklch(45.8% 0.100 119.6);
Tailwind
colors: {
  custom: {
    50: '#858c56',
    500: '#515f10',
    950: '#000000',
  },
}
SCSS
$custom: #515f10;
$custom-light: #858c56;
$custom-dark: #000000;
JSON
{
  "hex": "#515f10",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 70.633,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45804,
    "c": 0.10047,
    "h": 119.6
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#515F10
secondary
#453398
accent
#3AEE5A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #515F10

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

Preview Lab → · Contrast checker → · Palette generator →

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