#307240#307240

#307240 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.6% C 0.104 H 149.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#307240
RGBrgb(48, 114, 64)
HSLhsl(135, 41%, 32%)
HSVhsv(135, 58%, 45%)
CMYKcmyk(57.9%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.81, -32.92, 21.53)
CIE-LCHlch(42.81, 39.33, 146.81°)
OKLaboklab(49.57% -0.0891 0.0532)
OKLCHoklch(49.57% 0.104 149.2)
XYZxyz(8.1611, 13.0325, 6.9349)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307240 #723062
analogous
#417230 #307240 #307261
triadic
#307240 #403072 #724030
tetradic
#307240 #304172 #723062 #726130
square
#307240 #304172 #723062 #726130
split-complementary
#307240 #613072 #723041
monochromatic
#0C1C10 #1E4728 #307240 #429D58 #60BC77

Accessibility & contrast

On white

5.82
#307240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#307240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307240
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307240#FFFFFF#000000##FFFFFF
##3072401.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693C
Deuteranopia (green-blind)
#6A6343
Tritanopia (blue-blind)
#217066
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #307240;
/* rgb */ color: rgb(48, 114, 64);
/* oklch */ color: oklch(49.6% 0.104 149.2);
Tailwind
colors: {
  custom: {
    50: '#6f9b75',
    500: '#307240',
    950: '#000000',
  },
}
SCSS
$custom: #307240;
$custom-light: #6f9b75;
$custom-dark: #000000;
JSON
{
  "hex": "#307240",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 134.545,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49573,
    "c": 0.10382,
    "h": 149.2
  },
  "luminance": 0.13033
}

Semantic roles & 50–950 ramp

primary
#307240
secondary
#A35B92
accent
#57B3D1
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #307240

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

Preview Lab → · Contrast checker → · Palette generator →

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