#305C25#305C25

#305C25 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.9% C 0.098 H 139.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#305C25
RGBrgb(48, 92, 37)
HSLhsl(108, 43%, 25%)
HSVhsv(108, 60%, 36%)
CMYKcmyk(47.8%, 0%, 59.8%, 63.9%)
CIE-LABlab(34.83, -27.14, 26.64)
CIE-LCHlch(34.83, 38.03, 135.54°)
OKLaboklab(42.9% -0.0744 0.0631)
OKLCHoklch(42.9% 0.098 139.7)
XYZxyz(5.3798, 8.4159, 3.0909)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C25 #51255C
analogous
#4B5C25 #305C25 #255C35
triadic
#305C25 #25305C #5C2530
tetradic
#305C25 #254B5C #51255C #5C3525
square
#305C25 #254B5C #51255C #5C3525
split-complementary
#305C25 #35255C #5C254B
monochromatic
#0B1609 #193013 #305C25 #478837 #5EB348

Accessibility & contrast

On white

7.83
#305C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#305C25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305C25
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C25#FFFFFF#000000##FFFFFF
##305C251.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5420
Deuteranopia (green-blind)
#595029
Tritanopia (blue-blind)
#2C5950
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305c25;
/* rgb */ color: rgb(48, 92, 37);
/* oklch */ color: oklch(42.9% 0.098 139.7);
Tailwind
colors: {
  custom: {
    50: '#6c8a61',
    500: '#305c25',
    950: '#000000',
  },
}
SCSS
$custom: #305c25;
$custom-light: #6c8a61;
$custom-dark: #000000;
JSON
{
  "hex": "#305c25",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 37
  },
  "hsl": {
    "h": 108,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42903,
    "c": 0.09757,
    "h": 139.7
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#305C25
secondary
#824D8F
accent
#55D2B9
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #305C25

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

Preview Lab → · Contrast checker → · Palette generator →

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