#307E28#307E28

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

Color values

HEX#307E28
RGBrgb(48, 126, 40)
HSLhsl(114, 52%, 33%)
HSVhsv(114, 68%, 49%)
CMYKcmyk(61.9%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.58, -41.33, 38.44)
CIE-LCHlch(46.58, 56.44, 137.07°)
OKLaboklab(52.58% -0.1127 0.0887)
OKLCHoklch(52.58% 0.143 141.8)
XYZxyz(9.0623, 15.7025, 4.5604)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E28 #76287E
analogous
#5B7E28 #307E28 #287E4B
triadic
#307E28 #28307E #7E2830
tetradic
#307E28 #285B7E #76287E #7E4B28
square
#307E28 #285B7E #76287E #7E4B28
split-complementary
#307E28 #4B287E #7E285B
monochromatic
#0D210B #1E5019 #307E28 #42AC37 #61CA57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307E28#FFFFFF#000000##FFFFFF
##307E281.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)
#81721D
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#247A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e28;
/* rgb */ color: rgb(48, 126, 40);
/* oklch */ color: oklch(52.6% 0.143 141.8);
Tailwind
colors: {
  custom: {
    50: '#72a466',
    500: '#307e28',
    950: '#000000',
  },
}
SCSS
$custom: #307e28;
$custom-light: #72a466;
$custom-dark: #000000;
JSON
{
  "hex": "#307e28",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 114.419,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52576,
    "c": 0.14345,
    "h": 141.8
  },
  "luminance": 0.15703
}

Semantic roles & 50–950 ramp

primary
#307E28
secondary
#A653AF
accent
#4DDBCE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #307E28

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

Preview Lab → · Contrast checker → · Palette generator →

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