#307E18#307E18

#307E18 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.154 H 139.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#307E18
RGBrgb(48, 126, 24)
HSLhsl(106, 68%, 29%)
HSVhsv(106, 81%, 49%)
CMYKcmyk(61.9%, 0%, 81%, 50.6%)
CIE-LABlab(46.47, -42.67, 44.65)
CIE-LCHlch(46.47, 61.76, 133.71°)
OKLaboklab(52.44% -0.1173 0.0995)
OKLCHoklch(52.44% 0.154 139.7)
XYZxyz(8.8443, 15.6152, 3.4119)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E18 #66187E
analogous
#637E18 #307E18 #187E33
triadic
#307E18 #18307E #7E1830
tetradic
#307E18 #18637E #66187E #7E3318
square
#307E18 #18637E #66187E #7E3318
split-complementary
#307E18 #33187E #7E1863
monochromatic
#0A1A05 #1C4B0E #307E18 #44B122 #5DD937

Accessibility & contrast

On white

5.09
#307E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#307E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E18
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E18#FFFFFF#000000##FFFFFF
##307E181.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#267A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e18;
/* rgb */ color: rgb(48, 126, 24);
/* oklch */ color: oklch(52.4% 0.154 139.7);
Tailwind
colors: {
  custom: {
    50: '#73a45e',
    500: '#307e18',
    950: '#000000',
  },
}
SCSS
$custom: #307e18;
$custom-light: #73a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#307e18",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 105.882,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.15382,
    "h": 139.7
  },
  "luminance": 0.15616
}

Semantic roles & 50–950 ramp

primary
#307E18
secondary
#973FB2
accent
#3DEBC2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307E18

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

Preview Lab → · Contrast checker → · Palette generator →

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