#307A23#307A23

#307A23 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.142 H 140.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#307A23
RGBrgb(48, 122, 35)
HSLhsl(111, 55%, 31%)
HSVhsv(111, 71%, 48%)
CMYKcmyk(60.7%, 0%, 71.3%, 52.2%)
CIE-LABlab(45.18, -40.26, 39.13)
CIE-LCHlch(45.18, 56.14, 135.81°)
OKLaboklab(51.4% -0.1101 0.0896)
OKLCHoklch(51.4% 0.142 140.9)
XYZxyz(8.4814, 14.6680, 3.9740)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A23 #6D237A
analogous
#5B7A23 #307A23 #237A41
triadic
#307A23 #23307A #7A2330
tetradic
#307A23 #235B7A #6D237A #7A4123
square
#307A23 #235B7A #6D237A #7A4123
split-complementary
#307A23 #41237A #7A235B
monochromatic
#0B1B08 #1D4A15 #307A23 #43AA31 #5FCC4C

Accessibility & contrast

On white

5.34
#307A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#307A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A23
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A23#FFFFFF#000000##FFFFFF
##307A231.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F16
Deuteranopia (green-blind)
#74692B
Tritanopia (blue-blind)
#267668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a23;
/* rgb */ color: rgb(48, 122, 35);
/* oklch */ color: oklch(51.4% 0.142 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a163',
    500: '#307a23',
    950: '#000000',
  },
}
SCSS
$custom: #307a23;
$custom-light: #71a163;
$custom-dark: #000000;
JSON
{
  "hex": "#307a23",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 111.034,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51401,
    "c": 0.14194,
    "h": 140.9
  },
  "luminance": 0.14669
}

Semantic roles & 50–950 ramp

primary
#307A23
secondary
#9E4CAD
accent
#49DFC8
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #307A23

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

Preview Lab → · Contrast checker → · Palette generator →

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