#307E21#307E21

#307E21 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.148 H 140.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#307E21
RGBrgb(48, 126, 33)
HSLhsl(110, 58%, 31%)
HSVhsv(110, 74%, 49%)
CMYKcmyk(61.9%, 0%, 73.8%, 50.6%)
CIE-LABlab(46.52, -41.99, 41.37)
CIE-LCHlch(46.52, 58.95, 135.43°)
OKLaboklab(52.51% -0.1149 0.094)
OKLCHoklch(52.51% 0.148 140.7)
XYZxyz(8.9539, 15.6591, 3.9892)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E21 #6F217E
analogous
#5E7E21 #307E21 #217E40
triadic
#307E21 #21307E #7E2130
tetradic
#307E21 #215E7E #6F217E #7E4021
square
#307E21 #215E7E #6F217E #7E4021
split-complementary
#307E21 #40217E #7E215E
monochromatic
#0B1D08 #1E4E14 #307E21 #42AE2E #5FD04A

Accessibility & contrast

On white

5.08
#307E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#307E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E21
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E21#FFFFFF#000000##FFFFFF
##307E211.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817212
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#257A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e21;
/* rgb */ color: rgb(48, 126, 33);
/* oklch */ color: oklch(52.5% 0.148 140.7);
Tailwind
colors: {
  custom: {
    50: '#72a462',
    500: '#307e21',
    950: '#000000',
  },
}
SCSS
$custom: #307e21;
$custom-light: #72a462;
$custom-dark: #000000;
JSON
{
  "hex": "#307e21",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 33
  },
  "hsl": {
    "h": 110.323,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.14846,
    "h": 140.7
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#307E21
secondary
#A04AB1
accent
#46E2C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #307E21

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

Preview Lab → · Contrast checker → · Palette generator →

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