#507E1B#507E1B

#507E1B is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.136 H 131.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#507E1B
RGBrgb(80, 126, 27)
HSLhsl(88, 65%, 30%)
HSVhsv(88, 79%, 49%)
CMYKcmyk(36.5%, 0%, 78.6%, 50.6%)
CIE-LABlab(47.89, -31.96, 45.47)
CIE-LCHlch(47.89, 55.58, 125.10°)
OKLaboklab(54% -0.0904 0.1011)
OKLCHoklch(54% 0.136 131.8)
XYZxyz(10.9668, 16.7059, 3.6834)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E1B #491B7E
analogous
#7E7B1B #507E1B #1E7E1B
triadic
#507E1B #1B507E #7E1B50
tetradic
#507E1B #1B7E7B #491B7E #7E1B1E
square
#507E1B #1B7E7B #491B7E #7E1B1E
split-complementary
#507E1B #1B1E7E #7B1B7E
monochromatic
#101905 #304C10 #507E1B #70B026 #8FD63E

Accessibility & contrast

On white

4.84
#507E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#507E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507E1B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E1B#FFFFFF#000000##FFFFFF
##507E1B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847404
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#51796B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e1b;
/* rgb */ color: rgb(80, 126, 27);
/* oklch */ color: oklch(54.0% 0.136 131.8);
Tailwind
colors: {
  custom: {
    50: '#85a360',
    500: '#507e1b',
    950: '#000000',
  },
}
SCSS
$custom: #507e1b;
$custom-light: #85a360;
$custom-dark: #000000;
JSON
{
  "hex": "#507e1b",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 87.879,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.13568,
    "h": 131.8
  },
  "luminance": 0.16706
}

Semantic roles & 50–950 ramp

primary
#507E1B
secondary
#7643B2
accent
#40E88E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #507E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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