#515F18#515F18

#515F18 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.9% C 0.095 H 120.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#515F18
RGBrgb(81, 95, 24)
HSLhsl(72, 60%, 23%)
HSVhsv(72, 75%, 37%)
CMYKcmyk(14.7%, 0%, 74.7%, 62.7%)
CIE-LABlab(37.84, -16.19, 36.82)
CIE-LCHlch(37.84, 40.23, 113.74°)
OKLaboklab(45.86% -0.0477 0.0825)
OKLCHoklch(45.86% 0.095 120)
XYZxyz(7.6506, 9.9997, 2.3911)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F18 #26185F
analogous
#5F4918 #515F18 #2D5F18
triadic
#515F18 #18515F #5F1851
tetradic
#515F18 #185F49 #26185F #5F182D
square
#515F18 #185F49 #26185F #5F182D
split-complementary
#515F18 #182D5F #49185F
monochromatic
#151806 #272E0C #515F18 #7B9024 #A4C131

Accessibility & contrast

On white

7.00
#515F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#515F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515F18
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F18#FFFFFF#000000##FFFFFF
##515F181.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#64591E
Tritanopia (blue-blind)
#565A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f18;
/* rgb */ color: rgb(81, 95, 24);
/* oklch */ color: oklch(45.9% 0.095 120.0);
Tailwind
colors: {
  custom: {
    50: '#848c5a',
    500: '#515f18',
    950: '#000000',
  },
}
SCSS
$custom: #515f18;
$custom-light: #848c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#515f18",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 71.831,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45861,
    "c": 0.09527,
    "h": 120
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#515F18
secondary
#4F3D95
accent
#45E364
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515F18

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

Preview Lab → · Contrast checker → · Palette generator →

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