#305F29#305F29

#305F29 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.8% C 0.098 H 141.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#305F29
RGBrgb(48, 95, 41)
HSLhsl(112, 40%, 27%)
HSVhsv(112, 57%, 37%)
CMYKcmyk(49.5%, 0%, 56.8%, 62.7%)
CIE-LABlab(35.93, -28.00, 25.77)
CIE-LCHlch(35.93, 38.06, 137.37°)
OKLaboklab(43.82% -0.0765 0.0616)
OKLCHoklch(43.82% 0.098 141.2)
XYZxyz(5.7111, 8.9725, 3.5283)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F29 #58295F
analogous
#4B5F29 #305F29 #295F3D
triadic
#305F29 #29305F #5F2930
tetradic
#305F29 #294B5F #58295F #5F3D29
square
#305F29 #294B5F #58295F #5F3D29
split-complementary
#305F29 #3D295F #5F294B
monochromatic
#0B1509 #1A3417 #305F29 #468A3B #5CB34F

Accessibility & contrast

On white

7.51
#305F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#305F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305F29
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F29#FFFFFF#000000##FFFFFF
##305F291.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615724
Deuteranopia (green-blind)
#5B532D
Tritanopia (blue-blind)
#2B5C53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305f29;
/* rgb */ color: rgb(48, 95, 41);
/* oklch */ color: oklch(43.8% 0.098 141.2);
Tailwind
colors: {
  custom: {
    50: '#6c8d64',
    500: '#305f29',
    950: '#000000',
  },
}
SCSS
$custom: #305f29;
$custom-light: #6c8d64;
$custom-dark: #000000;
JSON
{
  "hex": "#305f29",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 41
  },
  "hsl": {
    "h": 112.222,
    "s": 39.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.43818,
    "c": 0.09822,
    "h": 141.2
  },
  "luminance": 0.08973
}

Semantic roles & 50–950 ramp

primary
#305F29
secondary
#895292
accent
#58D0C0
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #305F29

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

Preview Lab → · Contrast checker → · Palette generator →

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