#305F1E#305F1E

#305F1E is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.109 H 138.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#305F1E
RGBrgb(48, 95, 30)
HSLhsl(103, 52%, 25%)
HSVhsv(103, 68%, 37%)
CMYKcmyk(49.5%, 0%, 68.4%, 62.7%)
CIE-LABlab(35.80, -29.36, 31.32)
CIE-LCHlch(35.80, 42.93, 133.15°)
OKLaboklab(43.67% -0.0809 0.0724)
OKLCHoklch(43.67% 0.109 138.2)
XYZxyz(5.5453, 8.9062, 2.6549)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F1E #4D1E5F
analogous
#515F1E #305F1E #1E5F2D
triadic
#305F1E #1E305F #5F1E30
tetradic
#305F1E #1E515F #4D1E5F #5F2D1E
square
#305F1E #1E515F #4D1E5F #5F2D1E
split-complementary
#305F1E #2D1E5F #5F1E51
monochromatic
#0C1707 #18300F #305F1E #488E2D #5FBC3B

Accessibility & contrast

On white

7.55
#305F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#305F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305F1E
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F1E#FFFFFF#000000##FFFFFF
##305F1E1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625716
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#2D5C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305f1e;
/* rgb */ color: rgb(48, 95, 30);
/* oklch */ color: oklch(43.7% 0.109 138.2);
Tailwind
colors: {
  custom: {
    50: '#6d8d5d',
    500: '#305f1e',
    950: '#000000',
  },
}
SCSS
$custom: #305f1e;
$custom-light: #6d8d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#305f1e",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 30
  },
  "hsl": {
    "h": 103.385,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.43672,
    "c": 0.10862,
    "h": 138.2
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#305F1E
secondary
#7E4594
accent
#4CDBB4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #305F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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