#307B28#307B28

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

Color values

HEX#307B28
RGBrgb(48, 123, 40)
HSLhsl(114, 51%, 32%)
HSVhsv(114, 67%, 48%)
CMYKcmyk(61%, 0%, 67.5%, 51.8%)
CIE-LABlab(45.56, -40.15, 37.33)
CIE-LCHlch(45.56, 54.82, 137.08°)
OKLaboklab(51.73% -0.1095 0.0864)
OKLCHoklch(51.73% 0.139 141.7)
XYZxyz(8.6844, 14.9467, 4.4344)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B28 #73287B
analogous
#5A7B28 #307B28 #287B4A
triadic
#307B28 #28307B #7B2830
tetradic
#307B28 #285A7B #73287B #7B4A28
square
#307B28 #285A7B #73287B #7B4A28
split-complementary
#307B28 #4A287B #7B285A
monochromatic
#0C1F0A #1E4D19 #307B28 #42A937 #61C856

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307B28#FFFFFF#000000##FFFFFF
##307B281.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)
#7E701E
Deuteranopia (green-blind)
#75692F
Tritanopia (blue-blind)
#25776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b28;
/* rgb */ color: rgb(48, 123, 40);
/* oklch */ color: oklch(51.7% 0.139 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a266',
    500: '#307b28',
    950: '#000000',
  },
}
SCSS
$custom: #307b28;
$custom-light: #71a266;
$custom-dark: #000000;
JSON
{
  "hex": "#307b28",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 114.217,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51733,
    "c": 0.13948,
    "h": 141.7
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#307B28
secondary
#A452AD
accent
#4DDACD
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307B28

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

Preview Lab → · Contrast checker → · Palette generator →

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