#307E23#307E23

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

Color values

HEX#307E23
RGBrgb(48, 126, 35)
HSLhsl(111, 57%, 32%)
HSVhsv(111, 72%, 49%)
CMYKcmyk(61.9%, 0%, 72.2%, 50.6%)
CIE-LABlab(46.54, -41.82, 40.57)
CIE-LCHlch(46.54, 58.26, 135.87°)
OKLaboklab(52.53% -0.1143 0.0926)
OKLCHoklch(52.53% 0.147 141)
XYZxyz(8.9827, 15.6706, 4.1411)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E23 #71237E
analogous
#5E7E23 #307E23 #237E44
triadic
#307E23 #23307E #7E2330
tetradic
#307E23 #235E7E #71237E #7E4423
square
#307E23 #235E7E #71237E #7E4423
split-complementary
#307E23 #44237E #7E235E
monochromatic
#0C1E08 #1E4E16 #307E23 #42AE30 #60CE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307E23#FFFFFF#000000##FFFFFF
##307E231.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)
#817215
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#257A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e23;
/* rgb */ color: rgb(48, 126, 35);
/* oklch */ color: oklch(52.5% 0.147 141.0);
Tailwind
colors: {
  custom: {
    50: '#72a463',
    500: '#307e23',
    950: '#000000',
  },
}
SCSS
$custom: #307e23;
$custom-light: #72a463;
$custom-dark: #000000;
JSON
{
  "hex": "#307e23",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 111.429,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52527,
    "c": 0.14711,
    "h": 141
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#307E23
secondary
#A24CB0
accent
#48E0CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #307E23

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

Preview Lab → · Contrast checker → · Palette generator →

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