#305E19#305E19

#305E19 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.111 H 137.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#305E19
RGBrgb(48, 94, 25)
HSLhsl(100, 58%, 23%)
HSVhsv(100, 73%, 37%)
CMYKcmyk(48.9%, 0%, 73.4%, 63.1%)
CIE-LABlab(35.41, -29.40, 33.23)
CIE-LCHlch(35.41, 44.37, 131.51°)
OKLaboklab(43.33% -0.0814 0.0758)
OKLCHoklch(43.33% 0.111 137.1)
XYZxyz(5.3969, 8.7036, 2.3151)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E19 #47195E
analogous
#525E19 #305E19 #195E24
triadic
#305E19 #19305E #5E1930
tetradic
#305E19 #19525E #47195E #5E2419
square
#305E19 #19525E #47195E #5E2419
split-complementary
#305E19 #24195E #5E1952
monochromatic
#0C1806 #172E0C #305E19 #498E26 #61BF33

Accessibility & contrast

On white

7.66
#305E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #305E19
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E19#FFFFFF#000000##FFFFFF
##305E191.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560F
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#2E5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305e19;
/* rgb */ color: rgb(48, 94, 25);
/* oklch */ color: oklch(43.3% 0.111 137.1);
Tailwind
colors: {
  custom: {
    50: '#6d8c5a',
    500: '#305e19',
    950: '#000000',
  },
}
SCSS
$custom: #305e19;
$custom-light: #6d8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#305e19",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 25
  },
  "hsl": {
    "h": 100,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43332,
    "c": 0.11124,
    "h": 137.1
  },
  "luminance": 0.08704
}

Semantic roles & 50–950 ramp

primary
#305E19
secondary
#783F94
accent
#47E1AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #305E19

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

Preview Lab → · Contrast checker → · Palette generator →

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