#307C1C#307C1C

#307C1C is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.149 H 140.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#307C1C
RGBrgb(48, 124, 28)
HSLhsl(108, 63%, 30%)
HSVhsv(108, 77%, 49%)
CMYKcmyk(61.3%, 0%, 77.4%, 51.4%)
CIE-LABlab(45.81, -41.63, 42.59)
CIE-LCHlch(45.81, 59.56, 134.35°)
OKLaboklab(51.91% -0.1143 0.0958)
OKLCHoklch(51.91% 0.149 140)
XYZxyz(8.6358, 15.1267, 3.5631)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C1C #681C7C
analogous
#607C1C #307C1C #1C7C38
triadic
#307C1C #1C307C #7C1C30
tetradic
#307C1C #1C607C #681C7C #7C381C
square
#307C1C #1C607C #681C7C #7C381C
split-complementary
#307C1C #381C7C #7C1C60
monochromatic
#0A1906 #1D4A11 #307C1C #43AE27 #5ED43F

Accessibility & contrast

On white

5.22
#307C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307C1C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C1C#FFFFFF#000000##FFFFFF
##307C1C1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807008
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#26786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307c1c;
/* rgb */ color: rgb(48, 124, 28);
/* oklch */ color: oklch(51.9% 0.149 140.0);
Tailwind
colors: {
  custom: {
    50: '#72a35f',
    500: '#307c1c',
    950: '#000000',
  },
}
SCSS
$custom: #307c1c;
$custom-light: #72a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#307c1c",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 107.5,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.14911,
    "h": 140
  },
  "luminance": 0.15128
}

Semantic roles & 50–950 ramp

primary
#307C1C
secondary
#9944B0
accent
#42E6C4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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