#505E10#505E10

#505E10 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.5% C 0.100 H 119.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#505E10
RGBrgb(80, 94, 16)
HSLhsl(71, 71%, 22%)
HSVhsv(71, 83%, 37%)
CMYKcmyk(14.9%, 0%, 83%, 63.1%)
CIE-LABlab(37.39, -16.57, 39.44)
CIE-LCHlch(37.39, 42.78, 112.79°)
OKLaboklab(45.46% -0.0494 0.0865)
OKLCHoklch(45.46% 0.1 119.7)
XYZxyz(7.4046, 9.7483, 1.9816)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505E10 #1E105E
analogous
#5E4510 #505E10 #295E10
triadic
#505E10 #10505E #5E1050
tetradic
#505E10 #105E45 #1E105E #5E1029
square
#505E10 #105E45 #1E105E #5E1029
split-complementary
#505E10 #10295E #45105E
monochromatic
#161A04 #232A07 #505E10 #7D9219 #A9C722

Accessibility & contrast

On white

7.12
#505E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#505E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505E10
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505E10#FFFFFF#000000##FFFFFF
##505E101.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#635818
Tritanopia (blue-blind)
#555850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505e10;
/* rgb */ color: rgb(80, 94, 16);
/* oklch */ color: oklch(45.5% 0.100 119.7);
Tailwind
colors: {
  custom: {
    50: '#848b56',
    500: '#505e10',
    950: '#000000',
  },
}
SCSS
$custom: #505e10;
$custom-light: #848b56;
$custom-dark: #000000;
JSON
{
  "hex": "#505e10",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 70.769,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45458,
    "c": 0.09964,
    "h": 119.7
  },
  "luminance": 0.09748
}

Semantic roles & 50–950 ramp

primary
#505E10
secondary
#453397
accent
#3AEE5A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #505E10

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

Preview Lab → · Contrast checker → · Palette generator →

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