#506A0F#506A0F

#506A0F is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.6% C 0.116 H 125.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#506A0F
RGBrgb(80, 106, 15)
HSLhsl(77, 75%, 24%)
HSVhsv(77, 86%, 42%)
CMYKcmyk(24.5%, 0%, 85.8%, 58.4%)
CIE-LABlab(41.29, -22.93, 43.28)
CIE-LCHlch(41.29, 48.98, 117.91°)
OKLaboklab(48.61% -0.0669 0.0945)
OKLCHoklch(48.61% 0.116 125.3)
XYZxyz(8.5486, 12.0479, 2.3269)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506A0F #290F6A
analogous
#6A560F #506A0F #226A0F
triadic
#506A0F #0F506A #6A0F50
tetradic
#506A0F #0F6A56 #290F6A #6A0F22
square
#506A0F #0F6A56 #290F6A #6A0F22
split-complementary
#506A0F #0F226A #560F6A
monochromatic
#141B04 #283407 #506A0F #78A017 #A1D51E

Accessibility & contrast

On white

6.16
#506A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#506A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506A0F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506A0F#FFFFFF#000000##FFFFFF
##506A0F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#54645A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #506a0f;
/* rgb */ color: rgb(80, 106, 15);
/* oklch */ color: oklch(48.6% 0.116 125.3);
Tailwind
colors: {
  custom: {
    50: '#849457',
    500: '#506a0f',
    950: '#000000',
  },
}
SCSS
$custom: #506a0f;
$custom-light: #849457;
$custom-dark: #000000;
JSON
{
  "hex": "#506a0f",
  "rgb": {
    "r": 80,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 77.143,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48614,
    "c": 0.11574,
    "h": 125.3
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#506A0F
secondary
#5232A2
accent
#36F26C
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #506A0F

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

Preview Lab → · Contrast checker → · Palette generator →

#506A0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva