#505F1A#505F1A

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

Color values

HEX#505F1A
RGBrgb(80, 95, 26)
HSLhsl(73, 57%, 24%)
HSVhsv(73, 73%, 37%)
CMYKcmyk(15.8%, 0%, 72.6%, 62.7%)
CIE-LABlab(37.78, -16.52, 35.87)
CIE-LCHlch(37.78, 39.49, 114.73°)
OKLaboklab(45.8% -0.0483 0.0809)
OKLCHoklch(45.8% 0.094 120.9)
XYZxyz(7.5870, 9.9645, 2.5007)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505F1A #291A5F
analogous
#5F4B1A #505F1A #2D5F1A
triadic
#505F1A #1A505F #5F1A50
tetradic
#505F1A #1A5F4B #291A5F #5F1A2D
square
#505F1A #1A5F4B #291A5F #5F1A2D
split-complementary
#505F1A #1A2D5F #4B1A5F
monochromatic
#141807 #282F0D #505F1A #788F27 #A1BF34

Accessibility & contrast

On white

7.02
#505F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#505F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505F1A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505F1A#FFFFFF#000000##FFFFFF
##505F1A1.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)
#655910
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#555A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #505f1a;
/* rgb */ color: rgb(80, 95, 26);
/* oklch */ color: oklch(45.8% 0.094 120.9);
Tailwind
colors: {
  custom: {
    50: '#838c5b',
    500: '#505f1a',
    950: '#000000',
  },
}
SCSS
$custom: #505f1a;
$custom-light: #838c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#505f1a",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 26
  },
  "hsl": {
    "h": 73.043,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45795,
    "c": 0.09419,
    "h": 120.9
  },
  "luminance": 0.09964
}

Semantic roles & 50–950 ramp

primary
#505F1A
secondary
#524095
accent
#48E069
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #505F1A

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

Preview Lab → · Contrast checker → · Palette generator →

#505F1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva