#305331#305331

#305331 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.6% C 0.069 H 144.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#305331
RGBrgb(48, 83, 49)
HSLhsl(122, 27%, 26%)
HSVhsv(122, 42%, 33%)
CMYKcmyk(42.2%, 0%, 41%, 67.5%)
CIE-LABlab(31.89, -20.76, 16.04)
CIE-LCHlch(31.89, 26.24, 142.30°)
OKLaboklab(40.56% -0.0565 0.0399)
OKLCHoklch(40.56% 0.069 144.8)
XYZxyz(4.8663, 7.0364, 4.0069)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305331 #533052
analogous
#405330 #305331 #305342
triadic
#305331 #313053 #533130
tetradic
#305331 #304053 #533052 #534230
square
#305331 #304053 #533052 #534230
split-complementary
#305331 #423053 #533040
monochromatic
#0B130B #1A2C1A #305331 #467A48 #5DA15F

Accessibility & contrast

On white

8.72
#305331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#305331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305331
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305331#FFFFFF#000000##FFFFFF
##3053311.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#4F4A33
Tritanopia (blue-blind)
#2C514A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #305331;
/* rgb */ color: rgb(48, 83, 49);
/* oklch */ color: oklch(40.6% 0.069 144.8);
Tailwind
colors: {
  custom: {
    50: '#6a8369',
    500: '#305331',
    950: '#000000',
  },
}
SCSS
$custom: #305331;
$custom-light: #6a8369;
$custom-dark: #000000;
JSON
{
  "hex": "#305331",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 121.714,
    "s": 26.718,
    "l": 25.686
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.06921,
    "h": 144.8
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#305331
secondary
#845B83
accent
#65C0C3
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #305331

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

Preview Lab → · Contrast checker → · Palette generator →

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