#307B2B#307B2B

#307B2B is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.137 H 142.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#307B2B
RGBrgb(48, 123, 43)
HSLhsl(116, 48%, 33%)
HSVhsv(116, 65%, 48%)
CMYKcmyk(61%, 0%, 65%, 51.8%)
CIE-LABlab(45.59, -39.82, 35.96)
CIE-LCHlch(45.59, 53.65, 137.91°)
OKLaboklab(51.77% -0.1084 0.0838)
OKLCHoklch(51.77% 0.137 142.3)
XYZxyz(8.7375, 14.9679, 4.7137)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B2B #762B7B
analogous
#587B2B #307B2B #2B7B4E
triadic
#307B2B #2B307B #7B2B30
tetradic
#307B2B #2B587B #762B7B #7B4E2B
square
#307B2B #2B587B #762B7B #7B4E2B
split-complementary
#307B2B #4E2B7B #7B2B58
monochromatic
#0D200B #1E4E1B #307B2B #42A83B #61C65B

Accessibility & contrast

On white

5.26
#307B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#307B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B2B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B2B#FFFFFF#000000##FFFFFF
##307B2B1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#24776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b2b;
/* rgb */ color: rgb(48, 123, 43);
/* oklch */ color: oklch(51.8% 0.137 142.3);
Tailwind
colors: {
  custom: {
    50: '#71a268',
    500: '#307b2b',
    950: '#000000',
  },
}
SCSS
$custom: #307b2b;
$custom-light: #71a268;
$custom-dark: #000000;
JSON
{
  "hex": "#307b2b",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 116.25,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.13706,
    "h": 142.3
  },
  "luminance": 0.14969
}

Semantic roles & 50–950 ramp

primary
#307B2B
secondary
#A656AB
accent
#50D8CF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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