#509F12#509F12

#509F12 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.7% C 0.180 H 135.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#509F12
RGBrgb(80, 159, 18)
HSLhsl(94, 80%, 35%)
HSVhsv(94, 89%, 62%)
CMYKcmyk(49.7%, 0%, 88.7%, 37.6%)
CIE-LABlab(58.55, -46.33, 57.58)
CIE-LCHlch(58.55, 73.90, 128.82°)
OKLaboklab(62.73% -0.1295 0.1253)
OKLCHoklch(62.73% 0.18 135.9)
XYZxyz(15.8152, 26.5443, 4.8624)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F12 #61129F
analogous
#979F12 #509F12 #129F1B
triadic
#509F12 #12509F #9F1250
tetradic
#509F12 #12979F #61129F #9F1B12
square
#509F12 #12979F #61129F #9F1B12
split-complementary
#509F12 #1B129F #9F1297
monochromatic
#193106 #34680C #509F12 #6CD618 #8CEA42

Accessibility & contrast

On white

3.33
#509F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#509F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F12
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F12#FFFFFF#000000##000000
##509F121.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9B8A26
Tritanopia (blue-blind)
#4C9987
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f12;
/* rgb */ color: rgb(80, 159, 18);
/* oklch */ color: oklch(62.7% 0.180 135.9);
Tailwind
colors: {
  custom: {
    50: '#8abc61',
    500: '#509f12',
    950: '#000000',
  },
}
SCSS
$custom: #509f12;
$custom-light: #8abc61;
$custom-dark: #000000;
JSON
{
  "hex": "#509f12",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 18
  },
  "hsl": {
    "h": 93.617,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62734,
    "c": 0.18023,
    "h": 135.9
  },
  "luminance": 0.26545
}

Semantic roles & 50–950 ramp

primary
#509F12
secondary
#8F43CA
accent
#32F6A0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #509F12

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

Preview Lab → · Contrast checker → · Palette generator →

#509F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva