#307236#307236

#307236 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.114 H 145.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#307236
RGBrgb(48, 114, 54)
HSLhsl(125, 41%, 32%)
HSVhsv(125, 58%, 45%)
CMYKcmyk(57.9%, 0%, 52.6%, 55.3%)
CIE-LABlab(42.66, -34.61, 26.89)
CIE-LCHlch(42.66, 43.83, 142.15°)
OKLaboklab(49.39% -0.0938 0.065)
OKLCHoklch(49.39% 0.114 145.3)
XYZxyz(7.9016, 12.9287, 5.5684)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307236 #72306C
analogous
#4B7230 #307236 #307257
triadic
#307236 #363072 #723630
tetradic
#307236 #304B72 #72306C #725730
square
#307236 #304B72 #72306C #725730
split-complementary
#307236 #573072 #72304B
monochromatic
#0C1C0D #1E4722 #307236 #429D4A #60BC69

Accessibility & contrast

On white

5.86
#307236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#307236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307236
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307236#FFFFFF#000000##FFFFFF
##3072361.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746831
Deuteranopia (green-blind)
#6B623A
Tritanopia (blue-blind)
#246F64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #307236;
/* rgb */ color: rgb(48, 114, 54);
/* oklch */ color: oklch(49.4% 0.114 145.3);
Tailwind
colors: {
  custom: {
    50: '#6f9b6e',
    500: '#307236',
    950: '#000000',
  },
}
SCSS
$custom: #307236;
$custom-light: #6f9b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#307236",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 54
  },
  "hsl": {
    "h": 125.455,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.11413,
    "h": 145.3
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

primary
#307236
secondary
#A35B9D
accent
#57C6D1
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #307236

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

Preview Lab → · Contrast checker → · Palette generator →

#307236 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva