#507B1C#507B1C

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

Color values

HEX#507B1C
RGBrgb(80, 123, 28)
HSLhsl(87, 63%, 30%)
HSVhsv(87, 77%, 48%)
CMYKcmyk(35%, 0%, 77.2%, 51.8%)
CIE-LABlab(46.92, -30.51, 44.17)
CIE-LCHlch(46.92, 53.68, 124.63°)
OKLaboklab(53.21% -0.0864 0.0986)
OKLCHoklch(53.21% 0.131 131.2)
XYZxyz(10.6007, 15.9548, 3.6194)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B1C #471C7B
analogous
#7B771C #507B1C #207B1C
triadic
#507B1C #1C507B #7B1C50
tetradic
#507B1C #1C7B77 #471C7B #7B1C20
square
#507B1C #1C7B77 #471C7B #7B1C20
split-complementary
#507B1C #1C207B #771C7B
monochromatic
#101906 #304911 #507B1C #70AD27 #90D33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507B1C#FFFFFF#000000##FFFFFF
##507B1C1.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)
#817108
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#527669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507b1c;
/* rgb */ color: rgb(80, 123, 28);
/* oklch */ color: oklch(53.2% 0.131 131.2);
Tailwind
colors: {
  custom: {
    50: '#85a160',
    500: '#507b1c',
    950: '#000000',
  },
}
SCSS
$custom: #507b1c;
$custom-light: #85a160;
$custom-dark: #000000;
JSON
{
  "hex": "#507b1c",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 87.158,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5321,
    "c": 0.1311,
    "h": 131.2
  },
  "luminance": 0.15955
}

Semantic roles & 50–950 ramp

primary
#507B1C
secondary
#7444AF
accent
#42E68C
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #507B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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