#305129#305129

#305129 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.8% C 0.075 H 140.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#305129
RGBrgb(48, 81, 41)
HSLhsl(110, 33%, 24%)
HSVhsv(110, 49%, 32%)
CMYKcmyk(40.7%, 0%, 49.4%, 68.2%)
CIE-LABlab(31.05, -21.10, 19.76)
CIE-LCHlch(31.05, 28.91, 136.89°)
OKLaboklab(39.83% -0.0577 0.0482)
OKLCHoklch(39.83% 0.075 140.1)
XYZxyz(4.5614, 6.6731, 3.1451)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305129 #4A2951
analogous
#445129 #305129 #295136
triadic
#305129 #293051 #512930
tetradic
#305129 #294451 #4A2951 #513629
square
#305129 #294451 #4A2951 #513629
split-complementary
#305129 #362951 #512944
monochromatic
#0C140A #182814 #305129 #487A3E #60A252

Accessibility & contrast

On white

9.00
#305129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#305129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305129
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305129#FFFFFF#000000##FFFFFF
##3051291.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#4E482B
Tritanopia (blue-blind)
#2E4F47
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #305129;
/* rgb */ color: rgb(48, 81, 41);
/* oklch */ color: oklch(39.8% 0.075 140.1);
Tailwind
colors: {
  custom: {
    50: '#6a8263',
    500: '#305129',
    950: '#000000',
  },
}
SCSS
$custom: #305129;
$custom-light: #6a8263;
$custom-dark: #000000;
JSON
{
  "hex": "#305129",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 41
  },
  "hsl": {
    "h": 109.5,
    "s": 32.787,
    "l": 23.922
  },
  "oklch": {
    "l": 0.39834,
    "c": 0.07515,
    "h": 140.1
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#305129
secondary
#7B5283
accent
#5FC9B6
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #305129

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

Preview Lab → · Contrast checker → · Palette generator →

#305129 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva