#303E28#303E28

#303E28 is a dark, muted yellow-green. Relative luminance 0.042; OKLCH L 34.5% C 0.041 H 134.5°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#303E28
RGBrgb(48, 62, 40)
HSLhsl(98, 22%, 20%)
HSVhsv(98, 35%, 24%)
CMYKcmyk(22.6%, 0%, 35.5%, 75.7%)
CIE-LABlab(24.41, -10.65, 11.72)
CIE-LCHlch(24.41, 15.84, 132.26°)
OKLaboklab(34.46% -0.029 0.0294)
OKLCHoklch(34.46% 0.041 134.5)
XYZxyz(3.3245, 4.2268, 2.6478)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E28 #36283E
analogous
#3B3E28 #303E28 #283E2B
triadic
#303E28 #28303E #3E2830
tetradic
#303E28 #283B3E #36283E #3E2B28
square
#303E28 #283B3E #36283E #3E2B28
split-complementary
#303E28 #2B283E #3E283B
monochromatic
#0E130C #131910 #303E28 #4D6340 #6A8858

Accessibility & contrast

On white

11.38
#303E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#303E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303E28
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303E28#FFFFFF#000000##FFFFFF
##303E281.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B27
Deuteranopia (green-blind)
#3E3A29
Tritanopia (blue-blind)
#303C38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #303e28;
/* rgb */ color: rgb(48, 62, 40);
/* oklch */ color: oklch(34.5% 0.041 134.5);
Tailwind
colors: {
  custom: {
    50: '#687362',
    500: '#303e28',
    950: '#000000',
  },
}
SCSS
$custom: #303e28;
$custom-light: #687362;
$custom-dark: #000000;
JSON
{
  "hex": "#303e28",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 40
  },
  "hsl": {
    "h": 98.182,
    "s": 21.569,
    "l": 20
  },
  "oklch": {
    "l": 0.34457,
    "c": 0.04129,
    "h": 134.5
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#303E28
secondary
#655270
accent
#6ABE9F
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #303E28

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

Preview Lab → · Contrast checker → · Palette generator →

#303E28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva