#307F38#307F38

#307F38 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.131 H 145.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#307F38
RGBrgb(48, 127, 56)
HSLhsl(126, 45%, 34%)
HSVhsv(126, 62%, 50%)
CMYKcmyk(62.2%, 0%, 55.9%, 50.2%)
CIE-LABlab(47.09, -39.74, 31.25)
CIE-LCHlch(47.09, 50.55, 141.83°)
OKLaboklab(53.06% -0.1076 0.0748)
OKLCHoklch(53.06% 0.131 145.2)
XYZxyz(9.5215, 16.0917, 6.3449)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F38 #7F3077
analogous
#507F30 #307F38 #307F60
triadic
#307F38 #38307F #7F3830
tetradic
#307F38 #30507F #7F3077 #7F6030
square
#307F38 #30507F #7F3077 #7F6030
split-complementary
#307F38 #60307F #7F3050
monochromatic
#0E2611 #1F5324 #307F38 #41AB4C #65C56E

Accessibility & contrast

On white

4.98
#307F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#307F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F38
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F38#FFFFFF#000000##FFFFFF
##307F381.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817431
Deuteranopia (green-blind)
#776D3D
Tritanopia (blue-blind)
#1F7C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307f38;
/* rgb */ color: rgb(48, 127, 56);
/* oklch */ color: oklch(53.1% 0.131 145.2);
Tailwind
colors: {
  custom: {
    50: '#71a570',
    500: '#307f38',
    950: '#000000',
  },
}
SCSS
$custom: #307f38;
$custom-light: #71a570;
$custom-dark: #000000;
JSON
{
  "hex": "#307f38",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 56
  },
  "hsl": {
    "h": 126.076,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.13105,
    "h": 145.2
  },
  "luminance": 0.16093
}

Semantic roles & 50–950 ramp

primary
#307F38
secondary
#AC5FA4
accent
#53C8D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307F38

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

Preview Lab → · Contrast checker → · Palette generator →

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