#307D2A#307D2A

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

Color values

HEX#307D2A
RGBrgb(48, 125, 42)
HSLhsl(116, 50%, 33%)
HSVhsv(116, 66%, 49%)
CMYKcmyk(61.6%, 0%, 66.4%, 51%)
CIE-LABlab(46.26, -40.72, 37.18)
CIE-LCHlch(46.26, 55.14, 137.60°)
OKLaboklab(52.32% -0.111 0.0863)
OKLCHoklch(52.32% 0.141 142.1)
XYZxyz(8.9700, 15.4620, 4.7018)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D2A #772A7D
analogous
#597D2A #307D2A #2A7D4E
triadic
#307D2A #2A307D #7D2A30
tetradic
#307D2A #2A597D #772A7D #7D4E2A
square
#307D2A #2A597D #772A7D #7D4E2A
split-complementary
#307D2A #4E2A7D #7D2A59
monochromatic
#0D210B #1E4F1B #307D2A #42AB39 #62C85A

Accessibility & contrast

On white

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

On black

4.09
#307D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##307D2A#FFFFFF#000000##FFFFFF
##307D2A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807220
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#24796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307d2a;
/* rgb */ color: rgb(48, 125, 42);
/* oklch */ color: oklch(52.3% 0.141 142.1);
Tailwind
colors: {
  custom: {
    50: '#72a367',
    500: '#307d2a',
    950: '#000000',
  },
}
SCSS
$custom: #307d2a;
$custom-light: #72a367;
$custom-dark: #000000;
JSON
{
  "hex": "#307d2a",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 115.663,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.14056,
    "h": 142.1
  },
  "luminance": 0.15463
}

Semantic roles & 50–950 ramp

primary
#307D2A
secondary
#A756AD
accent
#4FD9CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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