#515F1E#515F1E

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

Color values

HEX#515F1E
RGBrgb(81, 95, 30)
HSLhsl(73, 52%, 25%)
HSVhsv(73, 68%, 37%)
CMYKcmyk(14.7%, 0%, 68.4%, 62.7%)
CIE-LABlab(37.89, -15.76, 34.19)
CIE-LCHlch(37.89, 37.64, 114.74°)
OKLaboklab(45.92% -0.0458 0.0779)
OKLCHoklch(45.92% 0.09 120.5)
XYZxyz(7.7200, 10.0275, 2.7568)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F1E #2C1E5F
analogous
#5F4D1E #515F1E #315F1E
triadic
#515F1E #1E515F #5F1E51
tetradic
#515F1E #1E5F4D #2C1E5F #5F1E31
square
#515F1E #1E5F4D #2C1E5F #5F1E31
split-complementary
#515F1E #1E315F #4D1E5F
monochromatic
#141707 #29300F #515F1E #798E2D #A0BC3B

Accessibility & contrast

On white

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

On black

3.01
#515F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##515F1E#FFFFFF#000000##FFFFFF
##515F1E1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655916
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#565A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f1e;
/* rgb */ color: rgb(81, 95, 30);
/* oklch */ color: oklch(45.9% 0.090 120.5);
Tailwind
colors: {
  custom: {
    50: '#848c5d',
    500: '#515f1e',
    950: '#000000',
  },
}
SCSS
$custom: #515f1e;
$custom-light: #848c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#515f1e",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 30
  },
  "hsl": {
    "h": 72.923,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45918,
    "c": 0.09042,
    "h": 120.5
  },
  "luminance": 0.10027
}

Semantic roles & 50–950 ramp

primary
#515F1E
secondary
#564594
accent
#4CDB6B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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