#307E2B#307E2B

#307E2B is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.141 H 142.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#307E2B
RGBrgb(48, 126, 43)
HSLhsl(116, 49%, 33%)
HSVhsv(116, 66%, 49%)
CMYKcmyk(61.9%, 0%, 65.9%, 50.6%)
CIE-LABlab(46.61, -41.00, 37.10)
CIE-LCHlch(46.61, 55.30, 137.86°)
OKLaboklab(52.61% -0.1117 0.0862)
OKLCHoklch(52.61% 0.141 142.3)
XYZxyz(9.1153, 15.7237, 4.8396)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E2B #792B7E
analogous
#597E2B #307E2B #2B7E50
triadic
#307E2B #2B307E #7E2B30
tetradic
#307E2B #2B597E #792B7E #7E502B
square
#307E2B #2B597E #792B7E #7E502B
split-complementary
#307E2B #502B7E #7E2B59
monochromatic
#0D230C #1F501B #307E2B #41AC3B #62C75C

Accessibility & contrast

On white

5.07
#307E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#307E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E2B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E2B#FFFFFF#000000##FFFFFF
##307E2B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817221
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#237A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e2b;
/* rgb */ color: rgb(48, 126, 43);
/* oklch */ color: oklch(52.6% 0.141 142.3);
Tailwind
colors: {
  custom: {
    50: '#72a468',
    500: '#307e2b',
    950: '#000000',
  },
}
SCSS
$custom: #307e2b;
$custom-light: #72a468;
$custom-dark: #000000;
JSON
{
  "hex": "#307e2b",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 116.386,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.14108,
    "h": 142.3
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#307E2B
secondary
#A858AD
accent
#4FD9D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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