#307D2C#307D2C

#307D2C is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.139 H 142.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#307D2C
RGBrgb(48, 125, 44)
HSLhsl(117, 48%, 33%)
HSVhsv(117, 65%, 49%)
CMYKcmyk(61.6%, 0%, 64.8%, 51%)
CIE-LABlab(46.28, -40.50, 36.26)
CIE-LCHlch(46.28, 54.36, 138.16°)
OKLaboklab(52.34% -0.1102 0.0846)
OKLCHoklch(52.34% 0.139 142.5)
XYZxyz(9.0067, 15.4766, 4.8950)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D2C #792C7D
analogous
#587D2C #307D2C #2C7D50
triadic
#307D2C #2C307D #7D2C30
tetradic
#307D2C #2C587D #792C7D #7D502C
square
#307D2C #2C587D #792C7D #7D502C
split-complementary
#307D2C #502C7D #7D2C58
monochromatic
#0D220C #1F501C #307D2C #41AA3C #62C65D

Accessibility & contrast

On white

5.13
#307D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#307D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D2C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D2C#FFFFFF#000000##FFFFFF
##307D2C1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#23796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307d2c;
/* rgb */ color: rgb(48, 125, 44);
/* oklch */ color: oklch(52.3% 0.139 142.5);
Tailwind
colors: {
  custom: {
    50: '#72a369',
    500: '#307d2c',
    950: '#000000',
  },
}
SCSS
$custom: #307d2c;
$custom-light: #72a369;
$custom-dark: #000000;
JSON
{
  "hex": "#307d2c",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 117.037,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52339,
    "c": 0.13893,
    "h": 142.5
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#307D2C
secondary
#A859AC
accent
#50D8D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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