#305826#305826

#305826 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.8% C 0.090 H 139.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#305826
RGBrgb(48, 88, 38)
HSLhsl(108, 40%, 25%)
HSVhsv(108, 57%, 35%)
CMYKcmyk(45.5%, 0%, 56.8%, 65.5%)
CIE-LABlab(33.45, -25.08, 24.44)
CIE-LCHlch(33.45, 35.02, 135.74°)
OKLaboklab(41.78% -0.0687 0.0584)
OKLCHoklch(41.78% 0.09 139.6)
XYZxyz(5.0583, 7.7475, 3.0622)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305826 #4E2658
analogous
#495826 #305826 #265835
triadic
#305826 #263058 #582630
tetradic
#305826 #264958 #4E2658 #583526
square
#305826 #264958 #4E2658 #583526
split-complementary
#305826 #352658 #582649
monochromatic
#0C1509 #192D14 #305826 #478338 #5FAD4B

Accessibility & contrast

On white

8.24
#305826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#305826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305826
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305826#FFFFFF#000000##FFFFFF
##3058261.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5121
Deuteranopia (green-blind)
#554D29
Tritanopia (blue-blind)
#2D554D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #305826;
/* rgb */ color: rgb(48, 88, 38);
/* oklch */ color: oklch(41.8% 0.090 139.6);
Tailwind
colors: {
  custom: {
    50: '#6b8762',
    500: '#305826',
    950: '#000000',
  },
}
SCSS
$custom: #305826;
$custom-light: #6b8762;
$custom-dark: #000000;
JSON
{
  "hex": "#305826",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 38
  },
  "hsl": {
    "h": 108,
    "s": 39.683,
    "l": 24.706
  },
  "oklch": {
    "l": 0.41777,
    "c": 0.09019,
    "h": 139.6
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#305826
secondary
#7F4F8B
accent
#58D0B8
background
#F6F8F5
surface
#EBEFEA
border
#C6CAC6
text
#070B05
muted
#7A7C79

Preview Lab

Preview with #305826

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

Preview Lab → · Contrast checker → · Palette generator →

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