#307C23#307C23

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

Color values

HEX#307C23
RGBrgb(48, 124, 35)
HSLhsl(111, 56%, 31%)
HSVhsv(111, 72%, 49%)
CMYKcmyk(61.3%, 0%, 71.8%, 51.4%)
CIE-LABlab(45.86, -41.04, 39.85)
CIE-LCHlch(45.86, 57.21, 135.84°)
OKLaboklab(51.97% -0.1122 0.0911)
OKLCHoklch(51.97% 0.145 140.9)
XYZxyz(8.7295, 15.1642, 4.0567)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C23 #6F237C
analogous
#5C7C23 #307C23 #237C42
triadic
#307C23 #23307C #7C2330
tetradic
#307C23 #235C7C #6F237C #7C4223
square
#307C23 #235C7C #6F237C #7C4223
split-complementary
#307C23 #42237C #7C235C
monochromatic
#0B1D08 #1E4C16 #307C23 #42AC30 #5FCD4D

Accessibility & contrast

On white

5.21
#307C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#307C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C23
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C23#FFFFFF#000000##FFFFFF
##307C231.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7016
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#25786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c23;
/* rgb */ color: rgb(48, 124, 35);
/* oklch */ color: oklch(52.0% 0.145 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a363',
    500: '#307c23',
    950: '#000000',
  },
}
SCSS
$custom: #307c23;
$custom-light: #72a363;
$custom-dark: #000000;
JSON
{
  "hex": "#307c23",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 111.236,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.14453,
    "h": 140.9
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#307C23
secondary
#A04CAF
accent
#49DFC9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #307C23

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

Preview Lab → · Contrast checker → · Palette generator →

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