#307E2A#307E2A

#307E2A is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.142 H 142.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#307E2A
RGBrgb(48, 126, 42)
HSLhsl(116, 50%, 33%)
HSVhsv(116, 67%, 49%)
CMYKcmyk(61.9%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.60, -41.11, 37.55)
CIE-LCHlch(46.60, 55.68, 137.59°)
OKLaboklab(52.6% -0.112 0.0871)
OKLCHoklch(52.6% 0.142 142.1)
XYZxyz(9.0972, 15.7164, 4.7442)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E2A #782A7E
analogous
#5A7E2A #307E2A #2A7E4E
triadic
#307E2A #2A307E #7E2A30
tetradic
#307E2A #2A5A7E #782A7E #7E4E2A
square
#307E2A #2A5A7E #782A7E #7E4E2A
split-complementary
#307E2A #4E2A7E #7E2A5A
monochromatic
#0D220B #1F501B #307E2A #41AC39 #62C85A

Accessibility & contrast

On white

5.07
#307E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#307E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E2A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E2A#FFFFFF#000000##FFFFFF
##307E2A1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817220
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#237A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e2a;
/* rgb */ color: rgb(48, 126, 42);
/* oklch */ color: oklch(52.6% 0.142 142.1);
Tailwind
colors: {
  custom: {
    50: '#72a467',
    500: '#307e2a',
    950: '#000000',
  },
}
SCSS
$custom: #307e2a;
$custom-light: #72a467;
$custom-dark: #000000;
JSON
{
  "hex": "#307e2a",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 115.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52597,
    "c": 0.14189,
    "h": 142.1
  },
  "luminance": 0.15717
}

Semantic roles & 50–950 ramp

primary
#307E2A
secondary
#A756AE
accent
#4EDAD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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