#305F1B#305F1B

#305F1B is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.111 H 137.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#305F1B
RGBrgb(48, 95, 27)
HSLhsl(101, 56%, 24%)
HSVhsv(101, 72%, 37%)
CMYKcmyk(49.5%, 0%, 71.6%, 62.7%)
CIE-LABlab(35.77, -29.67, 32.71)
CIE-LCHlch(35.77, 44.16, 132.21°)
OKLaboklab(43.64% -0.082 0.075)
OKLCHoklch(43.64% 0.111 137.6)
XYZxyz(5.5088, 8.8916, 2.4627)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F1B #4A1B5F
analogous
#525F1B #305F1B #1B5F28
triadic
#305F1B #1B305F #5F1B30
tetradic
#305F1B #1B525F #4A1B5F #5F281B
square
#305F1B #1B525F #4A1B5F #5F281B
split-complementary
#305F1B #281B5F #5F1B52
monochromatic
#0C1807 #182F0D #305F1B #488F29 #60BE36

Accessibility & contrast

On white

7.56
#305F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #305F1B
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F1B#FFFFFF#000000##FFFFFF
##305F1B1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #305f1b;
/* rgb */ color: rgb(48, 95, 27);
/* oklch */ color: oklch(43.6% 0.111 137.6);
Tailwind
colors: {
  custom: {
    50: '#6d8d5b',
    500: '#305f1b',
    950: '#000000',
  },
}
SCSS
$custom: #305f1b;
$custom-light: #6d8d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#305f1b",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 101.471,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43639,
    "c": 0.11111,
    "h": 137.6
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#305F1B
secondary
#7B4195
accent
#49DFB1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #305F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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