#505F11#505F11

#505F11 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.100 H 120.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#505F11
RGBrgb(80, 95, 17)
HSLhsl(72, 70%, 22%)
HSVhsv(72, 82%, 37%)
CMYKcmyk(15.8%, 0%, 82.1%, 62.7%)
CIE-LABlab(37.72, -17.06, 39.39)
CIE-LCHlch(37.72, 42.93, 113.42°)
OKLaboklab(45.73% -0.0507 0.0866)
OKLCHoklch(45.73% 0.1 120.3)
XYZxyz(7.5018, 9.9304, 2.0518)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505F11 #20115F
analogous
#5F4711 #505F11 #295F11
triadic
#505F11 #11505F #5F1150
tetradic
#505F11 #115F47 #20115F #5F1129
square
#505F11 #115F47 #20115F #5F1129
split-complementary
#505F11 #11295F #47115F
monochromatic
#161A05 #242B08 #505F11 #7C931A #A7C724

Accessibility & contrast

On white

7.03
#505F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #505F11
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505F11#FFFFFF#000000##FFFFFF
##505F111.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#645918
Tritanopia (blue-blind)
#555950
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #505f11;
/* rgb */ color: rgb(80, 95, 17);
/* oklch */ color: oklch(45.7% 0.100 120.3);
Tailwind
colors: {
  custom: {
    50: '#848c57',
    500: '#505f11',
    950: '#000000',
  },
}
SCSS
$custom: #505f11;
$custom-light: #848c57;
$custom-dark: #000000;
JSON
{
  "hex": "#505f11",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 71.538,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.10036,
    "h": 120.3
  },
  "luminance": 0.0993
}

Semantic roles & 50–950 ramp

primary
#505F11
secondary
#473498
accent
#3BEC5D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #505F11

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

Preview Lab → · Contrast checker → · Palette generator →

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