#515F0D#515F0D

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

Color values

HEX#515F0D
RGBrgb(81, 95, 13)
HSLhsl(70, 76%, 21%)
HSVhsv(70, 86%, 37%)
CMYKcmyk(14.7%, 0%, 86.3%, 62.7%)
CIE-LABlab(37.78, -16.78, 40.79)
CIE-LCHlch(37.78, 44.11, 112.36°)
OKLaboklab(45.79% -0.0503 0.0888)
OKLCHoklch(45.79% 0.102 119.5)
XYZxyz(7.5584, 9.9628, 1.9055)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F0D #1B0D5F
analogous
#5F440D #515F0D #285F0D
triadic
#515F0D #0D515F #5F0D51
tetradic
#515F0D #0D5F44 #1B0D5F #5F0D28
square
#515F0D #0D5F44 #1B0D5F #5F0D28
split-complementary
#515F0D #0D285F #440D5F
monochromatic
#171B04 #232906 #515F0D #7F9514 #ADCB1C

Accessibility & contrast

On white

7.02
#515F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515F0D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F0D#FFFFFF#000000##FFFFFF
##515F0D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515f0d;
/* rgb */ color: rgb(81, 95, 13);
/* oklch */ color: oklch(45.8% 0.102 119.5);
Tailwind
colors: {
  custom: {
    50: '#858c55',
    500: '#515f0d',
    950: '#000000',
  },
}
SCSS
$custom: #515f0d;
$custom-light: #858c55;
$custom-dark: #000000;
JSON
{
  "hex": "#515f0d",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 13
  },
  "hsl": {
    "h": 70.244,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.10204,
    "h": 119.5
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#515F0D
secondary
#412F99
accent
#35F356
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #515F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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