#505F10#505F10

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

Color values

HEX#505F10
RGBrgb(80, 95, 16)
HSLhsl(71, 71%, 22%)
HSVhsv(71, 83%, 37%)
CMYKcmyk(15.8%, 0%, 83.2%, 62.7%)
CIE-LABlab(37.71, -17.11, 39.74)
CIE-LCHlch(37.71, 43.26, 113.30°)
OKLaboklab(45.72% -0.0509 0.0871)
OKLCHoklch(45.72% 0.101 120.3)
XYZxyz(7.4941, 9.9273, 2.0115)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505F10 #1F105F
analogous
#5F4710 #505F10 #295F10
triadic
#505F10 #10505F #5F1050
tetradic
#505F10 #105F47 #1F105F #5F1029
square
#505F10 #105F47 #1F105F #5F1029
split-complementary
#505F10 #10295F #47105F
monochromatic
#161A04 #242B07 #505F10 #7C9319 #A8C822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505F10#FFFFFF#000000##FFFFFF
##505F101.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: #505f10;
/* rgb */ color: rgb(80, 95, 16);
/* oklch */ color: oklch(45.7% 0.101 120.3);
Tailwind
colors: {
  custom: {
    50: '#848c56',
    500: '#505f10',
    950: '#000000',
  },
}
SCSS
$custom: #505f10;
$custom-light: #848c56;
$custom-dark: #000000;
JSON
{
  "hex": "#505f10",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 71.392,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.10093,
    "h": 120.3
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#505F10
secondary
#463398
accent
#3AEE5C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #505F10

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

Preview Lab → · Contrast checker → · Palette generator →

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