#305E1C#305E1C

#305E1C is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.4% C 0.109 H 137.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#305E1C
RGBrgb(48, 94, 28)
HSLhsl(102, 54%, 24%)
HSVhsv(102, 70%, 37%)
CMYKcmyk(48.9%, 0%, 70.2%, 63.1%)
CIE-LABlab(35.43, -29.12, 31.87)
CIE-LCHlch(35.43, 43.17, 132.41°)
OKLaboklab(43.36% -0.0804 0.0733)
OKLCHoklch(43.36% 0.109 137.6)
XYZxyz(5.4311, 8.7173, 2.4948)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E1C #4A1C5E
analogous
#515E1C #305E1C #1C5E29
triadic
#305E1C #1C305E #5E1C30
tetradic
#305E1C #1C515E #4A1C5E #5E291C
square
#305E1C #1C515E #4A1C5E #5E291C
split-complementary
#305E1C #291C5E #5E1C51
monochromatic
#0C1807 #182F0E #305E1C #488D2A #60BC38

Accessibility & contrast

On white

7.65
#305E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#305E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305E1C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E1C#FFFFFF#000000##FFFFFF
##305E1C1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615613
Deuteranopia (green-blind)
#5B5222
Tritanopia (blue-blind)
#2D5B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305e1c;
/* rgb */ color: rgb(48, 94, 28);
/* oklch */ color: oklch(43.4% 0.109 137.6);
Tailwind
colors: {
  custom: {
    50: '#6d8c5c',
    500: '#305e1c',
    950: '#000000',
  },
}
SCSS
$custom: #305e1c;
$custom-light: #6d8c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#305e1c",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 28
  },
  "hsl": {
    "h": 101.818,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43363,
    "c": 0.10885,
    "h": 137.6
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#305E1C
secondary
#7B4293
accent
#4ADDB1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #305E1C

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

Preview Lab → · Contrast checker → · Palette generator →

#305E1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva