#515F11#515F11

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

Color values

HEX#515F11
RGBrgb(81, 95, 17)
HSLhsl(71, 70%, 22%)
HSVhsv(71, 82%, 37%)
CMYKcmyk(14.7%, 0%, 82.1%, 62.7%)
CIE-LABlab(37.80, -16.60, 39.50)
CIE-LCHlch(37.80, 42.84, 112.79°)
OKLaboklab(45.81% -0.0495 0.0868)
OKLCHoklch(45.81% 0.1 119.7)
XYZxyz(7.5869, 9.9743, 2.0557)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F11 #1F115F
analogous
#5F4611 #515F11 #2A5F11
triadic
#515F11 #11515F #5F1151
tetradic
#515F11 #115F46 #1F115F #5F112A
square
#515F11 #115F46 #1F115F #5F112A
split-complementary
#515F11 #112A5F #46115F
monochromatic
#161A05 #252B08 #515F11 #7D931A #AAC724

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515F11#FFFFFF#000000##FFFFFF
##515F111.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: #515f11;
/* rgb */ color: rgb(81, 95, 17);
/* oklch */ color: oklch(45.8% 0.100 119.7);
Tailwind
colors: {
  custom: {
    50: '#858c57',
    500: '#515f11',
    950: '#000000',
  },
}
SCSS
$custom: #515f11;
$custom-light: #858c57;
$custom-dark: #000000;
JSON
{
  "hex": "#515f11",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 70.769,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4581,
    "c": 0.0999,
    "h": 119.7
  },
  "luminance": 0.09974
}

Semantic roles & 50–950 ramp

primary
#515F11
secondary
#463498
accent
#3BEC5B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #515F11

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

Preview Lab → · Contrast checker → · Palette generator →

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