#306231#306231

#306231 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.095 H 144.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#306231
RGBrgb(48, 98, 49)
HSLhsl(121, 34%, 29%)
HSVhsv(121, 51%, 38%)
CMYKcmyk(51%, 0%, 50%, 61.6%)
CIE-LABlab(37.09, -28.19, 22.73)
CIE-LCHlch(37.09, 36.22, 141.12°)
OKLaboklab(44.8% -0.0767 0.0553)
OKLCHoklch(44.8% 0.095 144.2)
XYZxyz(6.1407, 9.5850, 4.4317)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306231 #623061
analogous
#486230 #306231 #30624A
triadic
#306231 #313062 #623130
tetradic
#306231 #304862 #623061 #624A30
square
#306231 #304862 #623061 #624A30
split-complementary
#306231 #4A3062 #623048
monochromatic
#0A150A #1C391C #306231 #448B46 #5DB05E

Accessibility & contrast

On white

7.20
#306231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#306231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306231
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306231#FFFFFF#000000##FFFFFF
##3062311.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2D
Deuteranopia (green-blind)
#5D5534
Tritanopia (blue-blind)
#296056
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306231;
/* rgb */ color: rgb(48, 98, 49);
/* oklch */ color: oklch(44.8% 0.095 144.2);
Tailwind
colors: {
  custom: {
    50: '#6c8f6a',
    500: '#306231',
    950: '#000000',
  },
}
SCSS
$custom: #306231;
$custom-light: #6c8f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#306231",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 49
  },
  "hsl": {
    "h": 121.2,
    "s": 34.247,
    "l": 28.627
  },
  "oklch": {
    "l": 0.44802,
    "c": 0.09455,
    "h": 144.2
  },
  "luminance": 0.09585
}

Semantic roles & 50–950 ramp

primary
#306231
secondary
#935A92
accent
#5DC8CA
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #306231

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

Preview Lab → · Contrast checker → · Palette generator →

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