#505F1D#505F1D

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

Color values

HEX#505F1D
RGBrgb(80, 95, 29)
HSLhsl(74, 53%, 24%)
HSVhsv(74, 69%, 37%)
CMYKcmyk(15.8%, 0%, 69.5%, 62.7%)
CIE-LABlab(37.80, -16.30, 34.54)
CIE-LCHlch(37.80, 38.19, 115.26°)
OKLaboklab(45.82% -0.0474 0.0785)
OKLCHoklch(45.82% 0.092 121.1)
XYZxyz(7.6223, 9.9786, 2.6867)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505F1D #2C1D5F
analogous
#5F4D1D #505F1D #2F5F1D
triadic
#505F1D #1D505F #5F1D50
tetradic
#505F1D #1D5F4D #2C1D5F #5F1D2F
square
#505F1D #1D5F4D #2C1D5F #5F1D2F
split-complementary
#505F1D #1D2F5F #4D1D5F
monochromatic
#141707 #29300F #505F1D #778E2B #9FBD3A

Accessibility & contrast

On white

7.01
#505F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#505F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #505F1D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505F1D#FFFFFF#000000##FFFFFF
##505F1D1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655914
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#545A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #505f1d;
/* rgb */ color: rgb(80, 95, 29);
/* oklch */ color: oklch(45.8% 0.092 121.1);
Tailwind
colors: {
  custom: {
    50: '#838c5d',
    500: '#505f1d',
    950: '#000000',
  },
}
SCSS
$custom: #505f1d;
$custom-light: #838c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#505f1d",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 29
  },
  "hsl": {
    "h": 73.636,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45824,
    "c": 0.09172,
    "h": 121.1
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#505F1D
secondary
#564494
accent
#4BDD6C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #505F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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