#305E2F#305E2F

#305E2F is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.6% C 0.090 H 143.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#305E2F
RGBrgb(48, 94, 47)
HSLhsl(119, 33%, 28%)
HSVhsv(119, 50%, 37%)
CMYKcmyk(48.9%, 0%, 50%, 63.1%)
CIE-LABlab(35.67, -26.62, 22.09)
CIE-LCHlch(35.67, 34.59, 140.31°)
OKLaboklab(43.63% -0.0725 0.0538)
OKLCHoklch(43.63% 0.09 143.4)
XYZxyz(5.7344, 8.8386, 4.0926)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E2F #5D2F5E
analogous
#485E2F #305E2F #2F5E45
triadic
#305E2F #2F305E #5E2F30
tetradic
#305E2F #2F485E #5D2F5E #5E452F
square
#305E2F #2F485E #5D2F5E #5E452F
split-complementary
#305E2F #452F5E #5E2F48
monochromatic
#0A140A #1B351B #305E2F #458743 #5CAD5B

Accessibility & contrast

On white

7.59
#305E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#305E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305E2F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E2F#FFFFFF#000000##FFFFFF
##305E2F1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572B
Deuteranopia (green-blind)
#595232
Tritanopia (blue-blind)
#2A5C53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305e2f;
/* rgb */ color: rgb(48, 94, 47);
/* oklch */ color: oklch(43.6% 0.090 143.4);
Tailwind
colors: {
  custom: {
    50: '#6c8c68',
    500: '#305e2f',
    950: '#000000',
  },
}
SCSS
$custom: #305e2f;
$custom-light: #6c8c68;
$custom-dark: #000000;
JSON
{
  "hex": "#305e2f",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 47
  },
  "hsl": {
    "h": 118.723,
    "s": 33.333,
    "l": 27.647
  },
  "oklch": {
    "l": 0.43634,
    "c": 0.09025,
    "h": 143.4
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#305E2F
secondary
#8E5990
accent
#5EC9C7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #305E2F

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

Preview Lab → · Contrast checker → · Palette generator →

#305E2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva