#306D1A#306D1A

#306D1A is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.6% C 0.131 H 138.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#306D1A
RGBrgb(48, 109, 26)
HSLhsl(104, 61%, 26%)
HSVhsv(104, 76%, 43%)
CMYKcmyk(56%, 0%, 76.1%, 57.3%)
CIE-LABlab(40.64, -35.81, 38.19)
CIE-LCHlch(40.64, 52.35, 133.16°)
OKLaboklab(47.64% -0.0987 0.0863)
OKLCHoklch(47.64% 0.131 138.8)
XYZxyz(6.8738, 11.6397, 2.8615)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D1A #571A6D
analogous
#5A6D1A #306D1A #1A6D2E
triadic
#306D1A #1A306D #6D1A30
tetradic
#306D1A #1A5A6D #571A6D #6D2E1A
square
#306D1A #1A5A6D #571A6D #6D2E1A
split-complementary
#306D1A #2E1A6D #6D1A5A
monochromatic
#0B1906 #1A3C0E #306D1A #469E26 #5CCE33

Accessibility & contrast

On white

6.31
#306D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#306D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D1A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D1A#FFFFFF#000000##FFFFFF
##306D1A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630B
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#2A695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d1a;
/* rgb */ color: rgb(48, 109, 26);
/* oklch */ color: oklch(47.6% 0.131 138.8);
Tailwind
colors: {
  custom: {
    50: '#6f975c',
    500: '#306d1a',
    950: '#000000',
  },
}
SCSS
$custom: #306d1a;
$custom-light: #6f975c;
$custom-dark: #000000;
JSON
{
  "hex": "#306d1a",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 104.096,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.13111,
    "h": 138.8
  },
  "luminance": 0.1164
}

Semantic roles & 50–950 ramp

primary
#306D1A
secondary
#8841A2
accent
#43E5BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306D1A

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

Preview Lab → · Contrast checker → · Palette generator →

#306D1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva