#515F1F#515F1F

#515F1F 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.98:1 contrast (WCAG AA passes).

Color values

HEX#515F1F
RGBrgb(81, 95, 31)
HSLhsl(73, 51%, 25%)
HSVhsv(73, 67%, 37%)
CMYKcmyk(14.7%, 0%, 67.4%, 62.7%)
CIE-LABlab(37.90, -15.67, 33.72)
CIE-LCHlch(37.90, 37.19, 114.93°)
OKLaboklab(45.93% -0.0455 0.0771)
OKLCHoklch(45.93% 0.09 120.5)
XYZxyz(7.7330, 10.0327, 2.8252)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F1F #2D1F5F
analogous
#5F4D1F #515F1F #315F1F
triadic
#515F1F #1F515F #5F1F51
tetradic
#515F1F #1F5F4D #2D1F5F #5F1F31
square
#515F1F #1F5F4D #2D1F5F #5F1F31
split-complementary
#515F1F #1F315F #4D1F5F
monochromatic
#141708 #2A3110 #515F1F #788D2E #A0BB3D

Accessibility & contrast

On white

6.98
#515F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #515F1F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F1F#FFFFFF#000000##FFFFFF
##515F1F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515f1f;
/* rgb */ color: rgb(81, 95, 31);
/* oklch */ color: oklch(45.9% 0.090 120.5);
Tailwind
colors: {
  custom: {
    50: '#848c5e',
    500: '#515f1f',
    950: '#000000',
  },
}
SCSS
$custom: #515f1f;
$custom-light: #848c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#515f1f",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 73.125,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45928,
    "c": 0.08954,
    "h": 120.5
  },
  "luminance": 0.10033
}

Semantic roles & 50–950 ramp

primary
#515F1F
secondary
#574694
accent
#4EDA6C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #515F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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