#304228#304228

#304228 is a dark, muted green. Relative luminance 0.047; OKLCH L 35.6% C 0.049 H 136.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#304228
RGBrgb(48, 66, 40)
HSLhsl(102, 25%, 21%)
HSVhsv(102, 39%, 26%)
CMYKcmyk(27.3%, 0%, 39.4%, 74.1%)
CIE-LABlab(25.80, -13.02, 13.58)
CIE-LCHlch(25.80, 18.81, 133.81°)
OKLaboklab(35.57% -0.0355 0.0338)
OKLCHoklch(35.57% 0.049 136.4)
XYZxyz(3.5500, 4.6779, 2.7230)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304228 #3A2842
analogous
#3D4228 #304228 #28422D
triadic
#304228 #283042 #422830
tetradic
#304228 #283D42 #3A2842 #422D28
square
#304228 #283D42 #3A2842 #422D28
split-complementary
#304228 #2D2842 #42283D
monochromatic
#0E130C #141C11 #304228 #4C683F #678E56

Accessibility & contrast

On white

10.85
#304228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#304228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304228
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304228#FFFFFF#000000##FFFFFF
##3042281.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E26
Deuteranopia (green-blind)
#413D29
Tritanopia (blue-blind)
#30403B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #304228;
/* rgb */ color: rgb(48, 66, 40);
/* oklch */ color: oklch(35.6% 0.049 136.4);
Tailwind
colors: {
  custom: {
    50: '#697662',
    500: '#304228',
    950: '#000000',
  },
}
SCSS
$custom: #304228;
$custom-light: #697662;
$custom-dark: #000000;
JSON
{
  "hex": "#304228",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 101.538,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35574,
    "c": 0.04905,
    "h": 136.4
  },
  "luminance": 0.04678
}

Semantic roles & 50–950 ramp

primary
#304228
secondary
#695274
accent
#67C1A5
background
#F6F7F5
surface
#EBEDEA
border
#C6C8C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #304228

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

Preview Lab → · Contrast checker → · Palette generator →

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