#308B1B#308B1B

#308B1B is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.168 H 140.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#308B1B
RGBrgb(48, 139, 27)
HSLhsl(109, 67%, 33%)
HSVhsv(109, 81%, 55%)
CMYKcmyk(65.5%, 0%, 80.6%, 45.5%)
CIE-LABlab(50.89, -47.27, 47.88)
CIE-LCHlch(50.89, 67.28, 134.63°)
OKLaboklab(56.11% -0.1295 0.1067)
OKLCHoklch(56.11% 0.168 140.5)
XYZxyz(10.6489, 19.1717, 4.1760)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B1B #761B8B
analogous
#688B1B #308B1B #1B8B3E
triadic
#308B1B #1B308B #8B1B30
tetradic
#308B1B #1B688B #761B8B #8B3E1B
square
#308B1B #1B688B #761B8B #8B3E1B
split-complementary
#308B1B #3E1B8B #8B1B68
monochromatic
#0D2507 #1E5811 #308B1B #42BE25 #61DB45

Accessibility & contrast

On white

4.34
#308B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#308B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B1B
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B1B#FFFFFF#000000##000000
##308B1B1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#218676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b1b;
/* rgb */ color: rgb(48, 139, 27);
/* oklch */ color: oklch(56.1% 0.168 140.5);
Tailwind
colors: {
  custom: {
    50: '#75ae61',
    500: '#308b1b',
    950: '#000000',
  },
}
SCSS
$custom: #308b1b;
$custom-light: #75ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#308b1b",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 108.75,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56107,
    "c": 0.16779,
    "h": 140.5
  },
  "luminance": 0.19173
}

Semantic roles & 50–950 ramp

primary
#308B1B
secondary
#A645BC
accent
#3DEACA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #308B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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