#308A1C#308A1C

#308A1C is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.166 H 140.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#308A1C
RGBrgb(48, 138, 28)
HSLhsl(109, 66%, 33%)
HSVhsv(109, 80%, 54%)
CMYKcmyk(65.2%, 0%, 79.7%, 45.9%)
CIE-LABlab(50.56, -46.84, 47.23)
CIE-LCHlch(50.56, 66.52, 134.76°)
OKLaboklab(55.84% -0.1283 0.1055)
OKLCHoklch(55.84% 0.166 140.6)
XYZxyz(10.5165, 18.8881, 4.1900)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A1C #761C8A
analogous
#678A1C #308A1C #1C8A3F
triadic
#308A1C #1C308A #8A1C30
tetradic
#308A1C #1C678A #761C8A #8A3F1C
square
#308A1C #1C678A #761C8A #8A3F1C
split-complementary
#308A1C #3F1C8A #8A1C67
monochromatic
#0D2407 #1E5712 #308A1C #42BD26 #61DA47

Accessibility & contrast

On white

4.40
#308A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#308A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A1C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A1C#FFFFFF#000000##000000
##308A1C1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#218575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308a1c;
/* rgb */ color: rgb(48, 138, 28);
/* oklch */ color: oklch(55.8% 0.166 140.6);
Tailwind
colors: {
  custom: {
    50: '#75ad61',
    500: '#308a1c',
    950: '#000000',
  },
}
SCSS
$custom: #308a1c;
$custom-light: #75ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#308a1c",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 109.091,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55835,
    "c": 0.1661,
    "h": 140.6
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#308A1C
secondary
#A646BB
accent
#3FE9CA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #308A1C

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

Preview Lab → · Contrast checker → · Palette generator →

#308A1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva