#309015#309015

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

Color values

HEX#309015
RGBrgb(48, 144, 21)
HSLhsl(107, 75%, 32%)
HSVhsv(107, 85%, 56%)
CMYKcmyk(66.7%, 0%, 85.4%, 43.5%)
CIE-LABlab(52.54, -49.38, 51.17)
CIE-LCHlch(52.54, 71.11, 133.98°)
OKLaboklab(57.47% -0.1355 0.1127)
OKLCHoklch(57.47% 0.176 140.2)
XYZxyz(11.3270, 20.6279, 4.0940)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309015 #751590
analogous
#6E9015 #309015 #159037
triadic
#309015 #153090 #901530
tetradic
#309015 #156E90 #751590 #903715
square
#309015 #156E90 #751590 #903715
split-complementary
#309015 #371590 #90156E
monochromatic
#0C2505 #1E5B0D #309015 #42C51D #61E33D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309015#FFFFFF#000000##000000
##3090151.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)
#897A25
Tritanopia (blue-blind)
#208B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #309015;
/* rgb */ color: rgb(48, 144, 21);
/* oklch */ color: oklch(57.5% 0.176 140.2);
Tailwind
colors: {
  custom: {
    50: '#77b160',
    500: '#309015',
    950: '#000000',
  },
}
SCSS
$custom: #309015;
$custom-light: #77b160;
$custom-dark: #000000;
JSON
{
  "hex": "#309015",
  "rgb": {
    "r": 48,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 106.829,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.17623,
    "h": 140.2
  },
  "luminance": 0.20629
}

Semantic roles & 50–950 ramp

primary
#309015
secondary
#A53EC2
accent
#37F1C8
background
#F7FBF5
surface
#EEF6EA
border
#C9D0C6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #309015

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

Preview Lab → · Contrast checker → · Palette generator →

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