#306223#306223

#306223 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.109 H 139.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#306223
RGBrgb(48, 98, 35)
HSLhsl(108, 47%, 26%)
HSVhsv(108, 64%, 38%)
CMYKcmyk(51%, 0%, 64.3%, 61.6%)
CIE-LABlab(36.90, -30.16, 30.07)
CIE-LCHlch(36.90, 42.59, 135.09°)
OKLaboklab(44.59% -0.0828 0.0704)
OKLCHoklch(44.59% 0.109 139.6)
XYZxyz(5.8897, 9.4847, 3.1102)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306223 #552362
analogous
#4F6223 #306223 #236235
triadic
#306223 #233062 #622330
tetradic
#306223 #234F62 #552362 #623523
square
#306223 #234F62 #552362 #623523
split-complementary
#306223 #352362 #62234F
monochromatic
#0B1708 #1A3513 #306223 #468F33 #5CBC43

Accessibility & contrast

On white

7.25
#306223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#306223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306223
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306223#FFFFFF#000000##FFFFFF
##3062231.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A1C
Deuteranopia (green-blind)
#5E5528
Tritanopia (blue-blind)
#2C5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306223;
/* rgb */ color: rgb(48, 98, 35);
/* oklch */ color: oklch(44.6% 0.109 139.6);
Tailwind
colors: {
  custom: {
    50: '#6d8f60',
    500: '#306223',
    950: '#000000',
  },
}
SCSS
$custom: #306223;
$custom-light: #6d8f60;
$custom-dark: #000000;
JSON
{
  "hex": "#306223",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 35
  },
  "hsl": {
    "h": 107.619,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44589,
    "c": 0.10863,
    "h": 139.6
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#306223
secondary
#864B96
accent
#51D7BB
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #306223

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

Preview Lab → · Contrast checker → · Palette generator →

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