#307B27#307B27

#307B27 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.140 H 141.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#307B27
RGBrgb(48, 123, 39)
HSLhsl(114, 52%, 32%)
HSVhsv(114, 68%, 48%)
CMYKcmyk(61%, 0%, 68.3%, 51.8%)
CIE-LABlab(45.55, -40.25, 37.77)
CIE-LCHlch(45.55, 55.20, 136.82°)
OKLaboklab(51.72% -0.1099 0.0872)
OKLCHoklch(51.72% 0.14 141.6)
XYZxyz(8.6677, 14.9400, 4.3460)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B27 #72277B
analogous
#5A7B27 #307B27 #277B48
triadic
#307B27 #27307B #7B2730
tetradic
#307B27 #275A7B #72277B #7B4827
square
#307B27 #275A7B #72277B #7B4827
split-complementary
#307B27 #48277B #7B275A
monochromatic
#0C1E0A #1E4D18 #307B27 #42A936 #60C954

Accessibility & contrast

On white

5.27
#307B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307B27
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B27#FFFFFF#000000##FFFFFF
##307B271.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701C
Deuteranopia (green-blind)
#75692E
Tritanopia (blue-blind)
#25776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b27;
/* rgb */ color: rgb(48, 123, 39);
/* oklch */ color: oklch(51.7% 0.140 141.6);
Tailwind
colors: {
  custom: {
    50: '#71a265',
    500: '#307b27',
    950: '#000000',
  },
}
SCSS
$custom: #307b27;
$custom-light: #71a265;
$custom-dark: #000000;
JSON
{
  "hex": "#307b27",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 113.571,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51723,
    "c": 0.14026,
    "h": 141.6
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#307B27
secondary
#A351AD
accent
#4CDBCC
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307B27

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

Preview Lab → · Contrast checker → · Palette generator →

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