#309018#309018

#309018 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.175 H 140.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#309018
RGBrgb(48, 144, 24)
HSLhsl(108, 71%, 33%)
HSVhsv(108, 83%, 56%)
CMYKcmyk(66.7%, 0%, 83.3%, 43.5%)
CIE-LABlab(52.55, -49.22, 50.35)
CIE-LCHlch(52.55, 70.41, 134.35°)
OKLaboklab(57.48% -0.1349 0.1114)
OKLCHoklch(57.48% 0.175 140.4)
XYZxyz(11.3565, 20.6397, 4.2494)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309018 #781890
analogous
#6C9018 #309018 #18903C
triadic
#309018 #183090 #901830
tetradic
#309018 #186C90 #781890 #903C18
square
#309018 #186C90 #781890 #903C18
split-complementary
#309018 #3C1890 #90186C
monochromatic
#0D2707 #1F5C0F #309018 #41C421 #62E043

Accessibility & contrast

On white

4.10
#309018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#309018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309018
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309018#FFFFFF#000000##000000
##3090181.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#897A27
Tritanopia (blue-blind)
#208B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #309018;
/* rgb */ color: rgb(48, 144, 24);
/* oklch */ color: oklch(57.5% 0.175 140.4);
Tailwind
colors: {
  custom: {
    50: '#76b161',
    500: '#309018',
    950: '#000000',
  },
}
SCSS
$custom: #309018;
$custom-light: #76b161;
$custom-dark: #000000;
JSON
{
  "hex": "#309018",
  "rgb": {
    "r": 48,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 108,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57482,
    "c": 0.17498,
    "h": 140.4
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

primary
#309018
secondary
#A743C0
accent
#3AEECA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #309018

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

Preview Lab → · Contrast checker → · Palette generator →

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