#507B23#507B23

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

Color values

HEX#507B23
RGBrgb(80, 123, 35)
HSLhsl(89, 56%, 31%)
HSVhsv(89, 72%, 48%)
CMYKcmyk(35%, 0%, 71.5%, 51.8%)
CIE-LABlab(46.96, -30.01, 41.45)
CIE-LCHlch(46.96, 51.18, 125.91°)
OKLaboklab(53.27% -0.0845 0.094)
OKLCHoklch(53.27% 0.126 132)
XYZxyz(10.6945, 15.9923, 4.1131)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B23 #4E237B
analogous
#7B7A23 #507B23 #247B23
triadic
#507B23 #23507B #7B2350
tetradic
#507B23 #237B7A #4E237B #7B2324
square
#507B23 #237B7A #4E237B #7B2324
split-complementary
#507B23 #23247B #7A237B
monochromatic
#121C08 #314B15 #507B23 #6FAB31 #8ECC4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507B23#FFFFFF#000000##FFFFFF
##507B231.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)
#807116
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#517669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507b23;
/* rgb */ color: rgb(80, 123, 35);
/* oklch */ color: oklch(53.3% 0.126 132.0);
Tailwind
colors: {
  custom: {
    50: '#85a163',
    500: '#507b23',
    950: '#000000',
  },
}
SCSS
$custom: #507b23;
$custom-light: #85a163;
$custom-dark: #000000;
JSON
{
  "hex": "#507b23",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 89.318,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53266,
    "c": 0.1264,
    "h": 132
  },
  "luminance": 0.15993
}

Semantic roles & 50–950 ramp

primary
#507B23
secondary
#7C4CAE
accent
#49DF92
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #507B23

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

Preview Lab → · Contrast checker → · Palette generator →

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