#509123#509123

#509123 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.1% C 0.156 H 135.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#509123
RGBrgb(80, 145, 35)
HSLhsl(95, 61%, 35%)
HSVhsv(95, 76%, 57%)
CMYKcmyk(44.8%, 0%, 75.9%, 43.1%)
CIE-LABlab(54.11, -39.80, 48.65)
CIE-LCHlch(54.11, 62.86, 129.28°)
OKLaboklab(59.11% -0.111 0.1091)
OKLCHoklch(59.11% 0.156 135.5)
XYZxyz(13.7367, 22.0768, 5.1272)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509123 #642391
analogous
#879123 #509123 #23912D
triadic
#509123 #235091 #912350
tetradic
#509123 #238791 #642391 #912D23
square
#509123 #238791 #642391 #912D23
split-complementary
#509123 #2D2391 #912387
monochromatic
#1A2E0B #356017 #509123 #6BC22F #8CD758

Accessibility & contrast

On white

3.88
#509123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#509123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509123
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509123#FFFFFF#000000##000000
##5091231.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850C
Deuteranopia (green-blind)
#8E7F2E
Tritanopia (blue-blind)
#4E8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #509123;
/* rgb */ color: rgb(80, 145, 35);
/* oklch */ color: oklch(59.1% 0.156 135.5);
Tailwind
colors: {
  custom: {
    50: '#87b266',
    500: '#509123',
    950: '#000000',
  },
}
SCSS
$custom: #509123;
$custom-light: #87b266;
$custom-dark: #000000;
JSON
{
  "hex": "#509123",
  "rgb": {
    "r": 80,
    "g": 145,
    "b": 35
  },
  "hsl": {
    "h": 95.455,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59109,
    "c": 0.15565,
    "h": 135.5
  },
  "luminance": 0.22078
}

Semantic roles & 50–950 ramp

primary
#509123
secondary
#9155BB
accent
#44E4A3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509123

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

Preview Lab → · Contrast checker → · Palette generator →

#509123 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva