#507B1E#507B1E

#507B1E is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.2% C 0.130 H 131.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#507B1E
RGBrgb(80, 123, 30)
HSLhsl(88, 61%, 30%)
HSVhsv(88, 76%, 48%)
CMYKcmyk(35%, 0%, 75.6%, 51.8%)
CIE-LABlab(46.93, -30.38, 43.43)
CIE-LCHlch(46.93, 53.00, 124.97°)
OKLaboklab(53.23% -0.0859 0.0974)
OKLCHoklch(53.23% 0.13 131.4)
XYZxyz(10.6255, 15.9647, 3.7497)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B1E #491E7B
analogous
#7B771E #507B1E #227B1E
triadic
#507B1E #1E507B #7B1E50
tetradic
#507B1E #1E7B77 #491E7B #7B1E22
square
#507B1E #1E7B77 #491E7B #7B1E22
split-complementary
#507B1E #1E227B #771E7B
monochromatic
#101906 #304A12 #507B1E #70AC2A #8FD142

Accessibility & contrast

On white

5.01
#507B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#507B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507B1E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507B1E#FFFFFF#000000##FFFFFF
##507B1E1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710C
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#517669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507b1e;
/* rgb */ color: rgb(80, 123, 30);
/* oklch */ color: oklch(53.2% 0.130 131.4);
Tailwind
colors: {
  custom: {
    50: '#85a161',
    500: '#507b1e',
    950: '#000000',
  },
}
SCSS
$custom: #507b1e;
$custom-light: #85a161;
$custom-dark: #000000;
JSON
{
  "hex": "#507b1e",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 87.742,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.53225,
    "c": 0.12985,
    "h": 131.4
  },
  "luminance": 0.15965
}

Semantic roles & 50–950 ramp

primary
#507B1E
secondary
#7646AE
accent
#44E48E
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #507B1E

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

Preview Lab → · Contrast checker → · Palette generator →

#507B1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva