#507B25#507B25

#507B25 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.3% C 0.125 H 132.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#507B25
RGBrgb(80, 123, 37)
HSLhsl(90, 54%, 31%)
HSVhsv(90, 70%, 48%)
CMYKcmyk(35%, 0%, 69.9%, 51.8%)
CIE-LABlab(46.98, -29.85, 40.62)
CIE-LCHlch(46.98, 50.41, 126.32°)
OKLaboklab(53.28% -0.0839 0.0925)
OKLCHoklch(53.28% 0.125 132.2)
XYZxyz(10.7250, 16.0046, 4.2740)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B25 #50257B
analogous
#7B7B25 #507B25 #257B25
triadic
#507B25 #25507B #7B2550
tetradic
#507B25 #257B7B #50257B #7B2525
square
#507B25 #257B7B #50257B #7B2525
split-complementary
#507B25 #25257B #7B257B
monochromatic
#131D09 #314C17 #507B25 #6FAA33 #8DCA50

Accessibility & contrast

On white

5.00
#507B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#507B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507B25
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507B25#FFFFFF#000000##FFFFFF
##507B251.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807219
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#51766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507b25;
/* rgb */ color: rgb(80, 123, 37);
/* oklch */ color: oklch(53.3% 0.125 132.2);
Tailwind
colors: {
  custom: {
    50: '#85a164',
    500: '#507b25',
    950: '#000000',
  },
}
SCSS
$custom: #507b25;
$custom-light: #85a164;
$custom-dark: #000000;
JSON
{
  "hex": "#507b25",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 90,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53284,
    "c": 0.1249,
    "h": 132.2
  },
  "luminance": 0.16005
}

Semantic roles & 50–950 ramp

primary
#507B25
secondary
#7E4FAD
accent
#4BDD94
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507B25

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

Preview Lab → · Contrast checker → · Palette generator →

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