#515F0F#515F0F

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

Color values

HEX#515F0F
RGBrgb(81, 95, 15)
HSLhsl(71, 73%, 22%)
HSVhsv(71, 84%, 37%)
CMYKcmyk(14.7%, 0%, 84.2%, 62.7%)
CIE-LABlab(37.79, -16.69, 40.17)
CIE-LCHlch(37.79, 43.50, 112.57°)
OKLaboklab(45.8% -0.0499 0.0878)
OKLCHoklch(45.8% 0.101 119.6)
XYZxyz(7.5719, 9.9683, 1.9770)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F0F #1D0F5F
analogous
#5F450F #515F0F #295F0F
triadic
#515F0F #0F515F #5F0F51
tetradic
#515F0F #0F5F45 #1D0F5F #5F0F29
square
#515F0F #0F5F45 #1D0F5F #5F0F29
split-complementary
#515F0F #0F295F #450F5F
monochromatic
#171A04 #242A07 #515F0F #7E9417 #ABC920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515F0F#FFFFFF#000000##FFFFFF
##515F0F1.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)
#645917
Tritanopia (blue-blind)
#565950
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f0f;
/* rgb */ color: rgb(81, 95, 15);
/* oklch */ color: oklch(45.8% 0.101 119.6);
Tailwind
colors: {
  custom: {
    50: '#858c56',
    500: '#515f0f',
    950: '#000000',
  },
}
SCSS
$custom: #515f0f;
$custom-light: #858c56;
$custom-dark: #000000;
JSON
{
  "hex": "#515f0f",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 70.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45798,
    "c": 0.10102,
    "h": 119.6
  },
  "luminance": 0.09968
}

Semantic roles & 50–950 ramp

primary
#515F0F
secondary
#443298
accent
#38EF58
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #515F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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