#305232#305232

#305232 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.3% C 0.066 H 145.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#305232
RGBrgb(48, 82, 50)
HSLhsl(124, 26%, 25%)
HSVhsv(124, 41%, 32%)
CMYKcmyk(41.5%, 0%, 39%, 67.8%)
CIE-LABlab(31.56, -20.04, 15.00)
CIE-LCHlch(31.56, 25.04, 143.19°)
OKLaboklab(40.3% -0.0546 0.0375)
OKLCHoklch(40.3% 0.066 145.5)
XYZxyz(4.8117, 6.8930, 4.0939)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305232 #523050
analogous
#3F5230 #305232 #305243
triadic
#305232 #323052 #523230
tetradic
#305232 #303F52 #523050 #524330
square
#305232 #303F52 #523050 #524330
split-complementary
#305232 #433052 #52303F
monochromatic
#0B130C #192B1A #305232 #47794A #5D9F61

Accessibility & contrast

On white

8.83
#305232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#305232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305232
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305232#FFFFFF#000000##FFFFFF
##3052321.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C30
Deuteranopia (green-blind)
#4E4934
Tritanopia (blue-blind)
#2C504A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #305232;
/* rgb */ color: rgb(48, 82, 50);
/* oklch */ color: oklch(40.3% 0.066 145.5);
Tailwind
colors: {
  custom: {
    50: '#6a836a',
    500: '#305232',
    950: '#000000',
  },
}
SCSS
$custom: #305232;
$custom-light: #6a836a;
$custom-dark: #000000;
JSON
{
  "hex": "#305232",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 50
  },
  "hsl": {
    "h": 123.529,
    "s": 26.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.40303,
    "c": 0.06623,
    "h": 145.5
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#305232
secondary
#835B81
accent
#65BDC3
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #305232

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

Preview Lab → · Contrast checker → · Palette generator →

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