#306923#306923

#306923 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.6% C 0.119 H 140.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#306923
RGBrgb(48, 105, 35)
HSLhsl(109, 50%, 27%)
HSVhsv(109, 67%, 41%)
CMYKcmyk(54.3%, 0%, 66.7%, 58.8%)
CIE-LABlab(39.33, -33.26, 32.80)
CIE-LCHlch(39.33, 46.71, 135.39°)
OKLaboklab(46.59% -0.0912 0.0762)
OKLCHoklch(46.59% 0.119 140.1)
XYZxyz(6.5736, 10.8524, 3.3381)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306923 #5C2369
analogous
#536923 #306923 #236939
triadic
#306923 #233069 #692330
tetradic
#306923 #235369 #5C2369 #693923
square
#306923 #235369 #5C2369 #693923
split-complementary
#306923 #392369 #692353
monochromatic
#0A1708 #1B3B14 #306923 #459732 #5CC145

Accessibility & contrast

On white

6.62
#306923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#306923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306923
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306923#FFFFFF#000000##FFFFFF
##3069231.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601B
Deuteranopia (green-blind)
#645B29
Tritanopia (blue-blind)
#2A665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #306923;
/* rgb */ color: rgb(48, 105, 35);
/* oklch */ color: oklch(46.6% 0.119 140.1);
Tailwind
colors: {
  custom: {
    50: '#6e9461',
    500: '#306923',
    950: '#000000',
  },
}
SCSS
$custom: #306923;
$custom-light: #6e9461;
$custom-dark: #000000;
JSON
{
  "hex": "#306923",
  "rgb": {
    "r": 48,
    "g": 105,
    "b": 35
  },
  "hsl": {
    "h": 108.857,
    "s": 50,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46585,
    "c": 0.1188,
    "h": 140.1
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#306923
secondary
#8D4B9C
accent
#4EDAC0
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #306923

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

Preview Lab → · Contrast checker → · Palette generator →

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