#306124#306124

#306124 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.106 H 139.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#306124
RGBrgb(48, 97, 36)
HSLhsl(108, 46%, 26%)
HSVhsv(108, 63%, 38%)
CMYKcmyk(50.5%, 0%, 62.9%, 62%)
CIE-LABlab(36.56, -29.59, 29.18)
CIE-LCHlch(36.56, 41.55, 135.40°)
OKLaboklab(44.32% -0.0811 0.0685)
OKLCHoklch(44.32% 0.106 139.8)
XYZxyz(5.8118, 9.3047, 3.1585)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306124 #552461
analogous
#4E6124 #306124 #246136
triadic
#306124 #243061 #612430
tetradic
#306124 #244E61 #552461 #613624
square
#306124 #244E61 #552461 #613624
split-complementary
#306124 #362461 #61244E
monochromatic
#0B1608 #1A3413 #306124 #468E35 #5CBA45

Accessibility & contrast

On white

7.34
#306124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#306124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306124
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306124#FFFFFF#000000##FFFFFF
##3061241.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591E
Deuteranopia (green-blind)
#5D5429
Tritanopia (blue-blind)
#2C5E54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #306124;
/* rgb */ color: rgb(48, 97, 36);
/* oklch */ color: oklch(44.3% 0.106 139.8);
Tailwind
colors: {
  custom: {
    50: '#6d8e61',
    500: '#306124',
    950: '#000000',
  },
}
SCSS
$custom: #306124;
$custom-light: #6d8e61;
$custom-dark: #000000;
JSON
{
  "hex": "#306124",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 36
  },
  "hsl": {
    "h": 108.197,
    "s": 45.865,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44317,
    "c": 0.10621,
    "h": 139.8
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#306124
secondary
#864C94
accent
#52D6BC
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #306124

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

Preview Lab → · Contrast checker → · Palette generator →

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