#507E23#507E23

#507E23 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.1% C 0.131 H 132.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#507E23
RGBrgb(80, 126, 35)
HSLhsl(90, 57%, 32%)
HSVhsv(90, 72%, 49%)
CMYKcmyk(36.5%, 0%, 72.2%, 50.6%)
CIE-LABlab(47.94, -31.41, 42.46)
CIE-LCHlch(47.94, 52.82, 126.50°)
OKLaboklab(54.06% -0.0883 0.0961)
OKLCHoklch(54.06% 0.131 132.6)
XYZxyz(11.0723, 16.7481, 4.2391)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507E23 #51237E
analogous
#7E7E23 #507E23 #237E24
triadic
#507E23 #23507E #7E2350
tetradic
#507E23 #237E7E #51237E #7E2423
square
#507E23 #237E7E #51237E #7E2423
split-complementary
#507E23 #24237E #7E237E
monochromatic
#131E08 #324E16 #507E23 #6EAE30 #8DCE4E

Accessibility & contrast

On white

4.83
#507E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#507E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507E23
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507E23#FFFFFF#000000##FFFFFF
##507E231.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837415
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#51796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507e23;
/* rgb */ color: rgb(80, 126, 35);
/* oklch */ color: oklch(54.1% 0.131 132.6);
Tailwind
colors: {
  custom: {
    50: '#85a364',
    500: '#507e23',
    950: '#000000',
  },
}
SCSS
$custom: #507e23;
$custom-light: #85a364;
$custom-dark: #000000;
JSON
{
  "hex": "#507e23",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 90.33,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54063,
    "c": 0.13052,
    "h": 132.6
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

primary
#507E23
secondary
#7F4CB0
accent
#48E095
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #507E23

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

Preview Lab → · Contrast checker → · Palette generator →

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