#307C28#307C28

#307C28 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.141 H 141.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#307C28
RGBrgb(48, 124, 40)
HSLhsl(114, 51%, 32%)
HSVhsv(114, 68%, 49%)
CMYKcmyk(61.3%, 0%, 67.7%, 51.4%)
CIE-LABlab(45.90, -40.54, 37.70)
CIE-LCHlch(45.90, 55.36, 137.08°)
OKLaboklab(52.01% -0.1106 0.0872)
OKLCHoklch(52.01% 0.141 141.8)
XYZxyz(8.8091, 15.1961, 4.4760)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C28 #74287C
analogous
#5A7C28 #307C28 #287C4A
triadic
#307C28 #28307C #7C2830
tetradic
#307C28 #285A7C #74287C #7C4A28
square
#307C28 #285A7C #74287C #7C4A28
split-complementary
#307C28 #4A287C #7C285A
monochromatic
#0C1F0A #1E4E19 #307C28 #42AA37 #61C856

Accessibility & contrast

On white

5.20
#307C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#307C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C28
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C28#FFFFFF#000000##FFFFFF
##307C281.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711D
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#24786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c28;
/* rgb */ color: rgb(48, 124, 40);
/* oklch */ color: oklch(52.0% 0.141 141.8);
Tailwind
colors: {
  custom: {
    50: '#72a366',
    500: '#307c28',
    950: '#000000',
  },
}
SCSS
$custom: #307c28;
$custom-light: #72a366;
$custom-dark: #000000;
JSON
{
  "hex": "#307c28",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 114.286,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52014,
    "c": 0.14081,
    "h": 141.8
  },
  "luminance": 0.15197
}

Semantic roles & 50–950 ramp

primary
#307C28
secondary
#A552AD
accent
#4DDBCD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307C28

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

Preview Lab → · Contrast checker → · Palette generator →

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