#306145#306145

#306145 is a dark, moderate green. Relative luminance 0.096; OKLCH L 45.0% C 0.071 H 156.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#306145
RGBrgb(48, 97, 69)
HSLhsl(146, 34%, 28%)
HSVhsv(146, 51%, 38%)
CMYKcmyk(50.5%, 0%, 28.9%, 62%)
CIE-LABlab(37.13, -23.82, 10.96)
CIE-LCHlch(37.13, 26.22, 155.30°)
OKLaboklab(44.96% -0.0653 0.0279)
OKLCHoklch(44.96% 0.071 156.9)
XYZxyz(6.5673, 9.6069, 7.1373)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306145 #61304C
analogous
#336130 #306145 #30615D
triadic
#306145 #453061 #614530
tetradic
#306145 #303361 #61304C #615D30
square
#306145 #303361 #61304C #615D30
split-complementary
#306145 #5D3061 #613033
monochromatic
#0A140F #1C3828 #306145 #448A62 #5DAF80

Accessibility & contrast

On white

7.19
#306145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#306145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306145
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306145#FFFFFF#000000##FFFFFF
##3061451.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A43
Deuteranopia (green-blind)
#595547
Tritanopia (blue-blind)
#246059
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306145;
/* rgb */ color: rgb(48, 97, 69);
/* oklch */ color: oklch(45.0% 0.071 156.9);
Tailwind
colors: {
  custom: {
    50: '#6c8e78',
    500: '#306145',
    950: '#000000',
  },
}
SCSS
$custom: #306145;
$custom-light: #6c8e78;
$custom-dark: #000000;
JSON
{
  "hex": "#306145",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 69
  },
  "hsl": {
    "h": 145.714,
    "s": 33.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.44961,
    "c": 0.07105,
    "h": 156.9
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#306145
secondary
#925A7A
accent
#5E9CCA
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C09
muted
#7A7D7B

Preview Lab

Preview with #306145

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

Preview Lab → · Contrast checker → · Palette generator →

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