#307138#307138

#307138 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.111 H 146.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#307138
RGBrgb(48, 113, 56)
HSLhsl(127, 40%, 32%)
HSVhsv(127, 58%, 44%)
CMYKcmyk(57.5%, 0%, 50.4%, 55.7%)
CIE-LABlab(42.34, -33.85, 25.41)
CIE-LCHlch(42.34, 42.33, 143.11°)
OKLaboklab(49.15% -0.0917 0.0618)
OKLCHoklch(49.15% 0.111 146.1)
XYZxyz(7.8374, 12.7235, 5.7835)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307138 #713069
analogous
#497130 #307138 #307159
triadic
#307138 #383071 #713830
tetradic
#307138 #304971 #713069 #715930
square
#307138 #304971 #713069 #715930
split-complementary
#307138 #593071 #713049
monochromatic
#0C1B0D #1E4623 #307138 #429C4D #60BB6B

Accessibility & contrast

On white

5.92
#307138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#307138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307138
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307138#FFFFFF#000000##FFFFFF
##3071381.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736833
Deuteranopia (green-blind)
#6A623C
Tritanopia (blue-blind)
#246E64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307138;
/* rgb */ color: rgb(48, 113, 56);
/* oklch */ color: oklch(49.1% 0.111 146.1);
Tailwind
colors: {
  custom: {
    50: '#6f9a70',
    500: '#307138',
    950: '#000000',
  },
}
SCSS
$custom: #307138;
$custom-light: #6f9a70;
$custom-dark: #000000;
JSON
{
  "hex": "#307138",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 127.385,
    "s": 40.373,
    "l": 31.569
  },
  "oklch": {
    "l": 0.49146,
    "c": 0.1106,
    "h": 146.1
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#307138
secondary
#A25B99
accent
#58C1D0
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #307138

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

Preview Lab → · Contrast checker → · Palette generator →

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