#307142#307142

#307142 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.100 H 150.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#307142
RGBrgb(48, 113, 66)
HSLhsl(137, 40%, 32%)
HSVhsv(137, 58%, 44%)
CMYKcmyk(57.5%, 0%, 41.6%, 55.7%)
CIE-LABlab(42.51, -32.10, 19.99)
CIE-LCHlch(42.51, 37.81, 148.08°)
OKLaboklab(49.34% -0.087 0.0497)
OKLCHoklch(49.34% 0.1 150.3)
XYZxyz(8.1069, 12.8313, 7.2027)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307142 #71305F
analogous
#3F7130 #307142 #307163
triadic
#307142 #423071 #714230
tetradic
#307142 #303F71 #71305F #716330
square
#307142 #303F71 #71305F #716330
split-complementary
#307142 #633071 #71303F
monochromatic
#0C1B10 #1E4629 #307142 #429C5B #60BB79

Accessibility & contrast

On white

5.89
#307142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#307142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307142
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307142#FFFFFF#000000##FFFFFF
##3071421.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683F
Deuteranopia (green-blind)
#696245
Tritanopia (blue-blind)
#206F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307142;
/* rgb */ color: rgb(48, 113, 66);
/* oklch */ color: oklch(49.3% 0.100 150.3);
Tailwind
colors: {
  custom: {
    50: '#6e9a77',
    500: '#307142',
    950: '#000000',
  },
}
SCSS
$custom: #307142;
$custom-light: #6e9a77;
$custom-dark: #000000;
JSON
{
  "hex": "#307142",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 136.615,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.49335,
    "c": 0.10016,
    "h": 150.3
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#307142
secondary
#A25B8E
accent
#58AFD0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #307142

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

Preview Lab → · Contrast checker → · Palette generator →

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