#307140#307140

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

Color values

HEX#307140
RGBrgb(48, 113, 64)
HSLhsl(135, 40%, 32%)
HSVhsv(135, 58%, 44%)
CMYKcmyk(57.5%, 0%, 43.4%, 55.7%)
CIE-LABlab(42.47, -32.47, 21.09)
CIE-LCHlch(42.47, 38.72, 147.00°)
OKLaboklab(49.29% -0.088 0.0522)
OKLCHoklch(49.29% 0.102 149.3)
XYZxyz(8.0489, 12.8081, 6.8975)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307140 #713061
analogous
#417130 #307140 #307161
triadic
#307140 #403071 #714030
tetradic
#307140 #304171 #713061 #716130
square
#307140 #304171 #713061 #716130
split-complementary
#307140 #613071 #713041
monochromatic
#0C1B0F #1E4628 #307140 #429C58 #60BB76

Accessibility & contrast

On white

5.90
#307140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#307140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307140
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307140#FFFFFF#000000##FFFFFF
##3071401.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#696243
Tritanopia (blue-blind)
#216F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307140;
/* rgb */ color: rgb(48, 113, 64);
/* oklch */ color: oklch(49.3% 0.102 149.3);
Tailwind
colors: {
  custom: {
    50: '#6e9a75',
    500: '#307140',
    950: '#000000',
  },
}
SCSS
$custom: #307140;
$custom-light: #6e9a75;
$custom-dark: #000000;
JSON
{
  "hex": "#307140",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 64
  },
  "hsl": {
    "h": 134.769,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.49294,
    "c": 0.10227,
    "h": 149.3
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#307140
secondary
#A25B91
accent
#58B3D0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #307140

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

Preview Lab → · Contrast checker → · Palette generator →

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