#306121#306121

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

Color values

HEX#306121
RGBrgb(48, 97, 33)
HSLhsl(106, 49%, 25%)
HSVhsv(106, 66%, 38%)
CMYKcmyk(50.5%, 0%, 66%, 62%)
CIE-LABlab(36.53, -29.94, 30.66)
CIE-LCHlch(36.53, 42.85, 134.32°)
OKLaboklab(44.28% -0.0823 0.0714)
OKLCHoklch(44.28% 0.109 139.1)
XYZxyz(5.7679, 9.2872, 2.9272)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306121 #522161
analogous
#506121 #306121 #216132
triadic
#306121 #213061 #612130
tetradic
#306121 #215061 #522161 #613221
square
#306121 #215061 #522161 #613221
split-complementary
#306121 #322161 #612150
monochromatic
#0B1708 #193311 #306121 #478F31 #5DBC40

Accessibility & contrast

On white

7.35
#306121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #306121
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306121#FFFFFF#000000##FFFFFF
##3061211.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591A
Deuteranopia (green-blind)
#5D5426
Tritanopia (blue-blind)
#2C5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #306121;
/* rgb */ color: rgb(48, 97, 33);
/* oklch */ color: oklch(44.3% 0.109 139.1);
Tailwind
colors: {
  custom: {
    50: '#6d8e5f',
    500: '#306121',
    950: '#000000',
  },
}
SCSS
$custom: #306121;
$custom-light: #6d8e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#306121",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 33
  },
  "hsl": {
    "h": 105.938,
    "s": 49.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.44279,
    "c": 0.10895,
    "h": 139.1
  },
  "luminance": 0.09288
}

Semantic roles & 50–950 ramp

primary
#306121
secondary
#834995
accent
#4FD9B8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #306121

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

Preview Lab → · Contrast checker → · Palette generator →

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