#505F0E#505F0E

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

Color values

HEX#505F0E
RGBrgb(80, 95, 14)
HSLhsl(71, 74%, 21%)
HSVhsv(71, 85%, 37%)
CMYKcmyk(15.8%, 0%, 85.3%, 62.7%)
CIE-LABlab(37.70, -17.20, 40.38)
CIE-LCHlch(37.70, 43.90, 113.07°)
OKLaboklab(45.71% -0.0513 0.0881)
OKLCHoklch(45.71% 0.102 120.2)
XYZxyz(7.4799, 9.9216, 1.9364)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505F0E #1D0E5F
analogous
#5F460E #505F0E #285F0E
triadic
#505F0E #0E505F #5F0E50
tetradic
#505F0E #0E5F46 #1D0E5F #5F0E28
square
#505F0E #0E5F46 #1D0E5F #5F0E28
split-complementary
#505F0E #0E285F #460E5F
monochromatic
#161B04 #232A06 #505F0E #7D9416 #AACA1E

Accessibility & contrast

On white

7.04
#505F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#505F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505F0E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505F0E#FFFFFF#000000##FFFFFF
##505F0E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #505f0e;
/* rgb */ color: rgb(80, 95, 14);
/* oklch */ color: oklch(45.7% 0.102 120.2);
Tailwind
colors: {
  custom: {
    50: '#848c55',
    500: '#505f0e',
    950: '#000000',
  },
}
SCSS
$custom: #505f0e;
$custom-light: #848c55;
$custom-dark: #000000;
JSON
{
  "hex": "#505f0e",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 71.111,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45709,
    "c": 0.102,
    "h": 120.2
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#505F0E
secondary
#443099
accent
#37F159
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #505F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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