#515F1C#515F1C

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

Color values

HEX#515F1C
RGBrgb(81, 95, 28)
HSLhsl(73, 54%, 24%)
HSVhsv(73, 71%, 37%)
CMYKcmyk(14.7%, 0%, 70.5%, 62.7%)
CIE-LABlab(37.87, -15.91, 35.10)
CIE-LCHlch(37.87, 38.54, 114.39°)
OKLaboklab(45.9% -0.0465 0.0795)
OKLCHoklch(45.9% 0.092 120.3)
XYZxyz(7.6953, 10.0176, 2.6266)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F1C #2A1C5F
analogous
#5F4C1C #515F1C #305F1C
triadic
#515F1C #1C515F #5F1C51
tetradic
#515F1C #1C5F4C #2A1C5F #5F1C30
square
#515F1C #1C5F4C #2A1C5F #5F1C30
split-complementary
#515F1C #1C305F #4C1C5F
monochromatic
#141807 #29300E #515F1C #798E2A #A2BE38

Accessibility & contrast

On white

6.99
#515F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515F1C
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F1C#FFFFFF#000000##FFFFFF
##515F1C1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655913
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#565A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f1c;
/* rgb */ color: rgb(81, 95, 28);
/* oklch */ color: oklch(45.9% 0.092 120.3);
Tailwind
colors: {
  custom: {
    50: '#848c5c',
    500: '#515f1c',
    950: '#000000',
  },
}
SCSS
$custom: #515f1c;
$custom-light: #848c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#515f1c",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 28
  },
  "hsl": {
    "h": 72.537,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.09212,
    "h": 120.3
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#515F1C
secondary
#544294
accent
#4ADE69
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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