#307B18#307B18

#307B18 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.150 H 139.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#307B18
RGBrgb(48, 123, 24)
HSLhsl(105, 67%, 29%)
HSVhsv(105, 80%, 48%)
CMYKcmyk(61%, 0%, 80.5%, 51.8%)
CIE-LABlab(45.44, -41.53, 43.66)
CIE-LCHlch(45.44, 60.26, 133.57°)
OKLaboklab(51.6% -0.1142 0.0974)
OKLCHoklch(51.6% 0.15 139.5)
XYZxyz(8.4664, 14.8595, 3.2860)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B18 #63187B
analogous
#627B18 #307B18 #187B32
triadic
#307B18 #18307B #7B1830
tetradic
#307B18 #18627B #63187B #7B3218
square
#307B18 #18627B #63187B #7B3218
split-complementary
#307B18 #32187B #7B1862
monochromatic
#0A1A05 #1C480E #307B18 #44AE22 #5DD836

Accessibility & contrast

On white

5.29
#307B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#307B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B18
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B18#FFFFFF#000000##FFFFFF
##307B181.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#277769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b18;
/* rgb */ color: rgb(48, 123, 24);
/* oklch */ color: oklch(51.6% 0.150 139.5);
Tailwind
colors: {
  custom: {
    50: '#72a25d',
    500: '#307b18',
    950: '#000000',
  },
}
SCSS
$custom: #307b18;
$custom-light: #72a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#307b18",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 105.455,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51596,
    "c": 0.15015,
    "h": 139.5
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#307B18
secondary
#943FB0
accent
#3EEAC0
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307B18

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

Preview Lab → · Contrast checker → · Palette generator →

#307B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva