#307F28#307F28

#307F28 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.145 H 141.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#307F28
RGBrgb(48, 127, 40)
HSLhsl(114, 52%, 33%)
HSVhsv(114, 69%, 50%)
CMYKcmyk(62.2%, 0%, 68.5%, 50.2%)
CIE-LABlab(46.92, -41.72, 38.81)
CIE-LCHlch(46.92, 56.98, 137.07°)
OKLaboklab(52.86% -0.1138 0.0895)
OKLCHoklch(52.86% 0.145 141.8)
XYZxyz(9.1908, 15.9595, 4.6032)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F28 #77287F
analogous
#5B7F28 #307F28 #287F4C
triadic
#307F28 #28307F #7F2830
tetradic
#307F28 #285B7F #77287F #7F4C28
square
#307F28 #285B7F #77287F #7F4C28
split-complementary
#307F28 #4C287F #7F285B
monochromatic
#0D220B #1E5019 #307F28 #42AE37 #62CA57

Accessibility & contrast

On white

5.01
#307F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#307F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F28
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F28#FFFFFF#000000##FFFFFF
##307F281.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#786D30
Tritanopia (blue-blind)
#237B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f28;
/* rgb */ color: rgb(48, 127, 40);
/* oklch */ color: oklch(52.9% 0.145 141.8);
Tailwind
colors: {
  custom: {
    50: '#72a566',
    500: '#307f28',
    950: '#000000',
  },
}
SCSS
$custom: #307f28;
$custom-light: #72a566;
$custom-dark: #000000;
JSON
{
  "hex": "#307f28",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 114.483,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.14475,
    "h": 141.8
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#307F28
secondary
#A754AF
accent
#4CDCCE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #307F28

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

Preview Lab → · Contrast checker → · Palette generator →

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