#304028#304028

#304028 is a dark, muted green. Relative luminance 0.044; OKLCH L 35.0% C 0.045 H 135.6°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#304028
RGBrgb(48, 64, 40)
HSLhsl(100, 23%, 20%)
HSVhsv(100, 38%, 25%)
CMYKcmyk(25%, 0%, 37.5%, 74.9%)
CIE-LABlab(25.10, -11.85, 12.65)
CIE-LCHlch(25.10, 17.33, 133.12°)
OKLaboklab(35.02% -0.0323 0.0316)
OKLCHoklch(35.02% 0.045 135.6)
XYZxyz(3.4352, 4.4483, 2.6847)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304028 #382840
analogous
#3C4028 #304028 #28402C
triadic
#304028 #283040 #402830
tetradic
#304028 #283C40 #382840 #402C28
square
#304028 #283C40 #382840 #402C28
split-complementary
#304028 #2C2840 #40283C
monochromatic
#0E130C #141A10 #304028 #4C6640 #688B57

Accessibility & contrast

On white

11.11
#304028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#304028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304028
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304028#FFFFFF#000000##FFFFFF
##3040281.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C26
Deuteranopia (green-blind)
#3F3B29
Tritanopia (blue-blind)
#303E3A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #304028;
/* rgb */ color: rgb(48, 64, 40);
/* oklch */ color: oklch(35.0% 0.045 135.6);
Tailwind
colors: {
  custom: {
    50: '#697562',
    500: '#304028',
    950: '#000000',
  },
}
SCSS
$custom: #304028;
$custom-light: #697562;
$custom-dark: #000000;
JSON
{
  "hex": "#304028",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 40
  },
  "hsl": {
    "h": 100,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.35015,
    "c": 0.04519,
    "h": 135.6
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#304028
secondary
#675272
accent
#68C0A2
background
#F6F7F5
surface
#EBEDEA
border
#C6C8C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #304028

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

Preview Lab → · Contrast checker → · Palette generator →

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