#505E0F#505E0F

#505E0F 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#505E0F
RGBrgb(80, 94, 15)
HSLhsl(71, 72%, 21%)
HSVhsv(71, 84%, 37%)
CMYKcmyk(14.9%, 0%, 84%, 63.1%)
CIE-LABlab(37.38, -16.62, 39.77)
CIE-LCHlch(37.38, 43.10, 112.68°)
OKLaboklab(45.45% -0.0496 0.087)
OKLCHoklch(45.45% 0.1 119.7)
XYZxyz(7.3973, 9.7454, 1.9432)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505E0F #1D0F5E
analogous
#5E450F #505E0F #295E0F
triadic
#505E0F #0F505E #5E0F50
tetradic
#505E0F #0F5E45 #1D0F5E #5E0F29
square
#505E0F #0F5E45 #1D0F5E #5E0F29
split-complementary
#505E0F #0F295E #450F5E
monochromatic
#161A04 #232907 #505E0F #7D9317 #AAC820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505E0F#FFFFFF#000000##FFFFFF
##505E0F1.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)
#635817
Tritanopia (blue-blind)
#555850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505e0f;
/* rgb */ color: rgb(80, 94, 15);
/* oklch */ color: oklch(45.5% 0.100 119.7);
Tailwind
colors: {
  custom: {
    50: '#848b55',
    500: '#505e0f',
    950: '#000000',
  },
}
SCSS
$custom: #505e0f;
$custom-light: #848b55;
$custom-dark: #000000;
JSON
{
  "hex": "#505e0f",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 70.633,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.10019,
    "h": 119.7
  },
  "luminance": 0.09745
}

Semantic roles & 50–950 ramp

primary
#505E0F
secondary
#443197
accent
#39EF59
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #505E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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