#515F14#515F14

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

Color values

HEX#515F14
RGBrgb(81, 95, 20)
HSLhsl(71, 65%, 23%)
HSVhsv(71, 79%, 37%)
CMYKcmyk(14.7%, 0%, 78.9%, 62.7%)
CIE-LABlab(37.81, -16.44, 38.41)
CIE-LCHlch(37.81, 41.78, 113.17°)
OKLaboklab(45.83% -0.0488 0.0851)
OKLCHoklch(45.83% 0.098 119.8)
XYZxyz(7.6120, 9.9843, 2.1878)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F14 #22145F
analogous
#5F4714 #515F14 #2C5F14
triadic
#515F14 #14515F #5F1451
tetradic
#515F14 #145F47 #22145F #5F142C
square
#515F14 #145F47 #22145F #5F142C
split-complementary
#515F14 #142C5F #47145F
monochromatic
#161905 #262C09 #515F14 #7C921F #A7C429

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515F14#FFFFFF#000000##FFFFFF
##515F141.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665905
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#565A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f14;
/* rgb */ color: rgb(81, 95, 20);
/* oklch */ color: oklch(45.8% 0.098 119.8);
Tailwind
colors: {
  custom: {
    50: '#848c58',
    500: '#515f14',
    950: '#000000',
  },
}
SCSS
$custom: #515f14;
$custom-light: #848c58;
$custom-dark: #000000;
JSON
{
  "hex": "#515f14",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 71.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4583,
    "c": 0.09805,
    "h": 119.8
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#515F14
secondary
#4A3897
accent
#40E85F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #515F14

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

Preview Lab → · Contrast checker → · Palette generator →

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