#306618#306618

#306618 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.123 H 137.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#306618
RGBrgb(48, 102, 24)
HSLhsl(102, 62%, 25%)
HSVhsv(102, 76%, 40%)
CMYKcmyk(52.9%, 0%, 76.5%, 60%)
CIE-LABlab(38.19, -33.02, 36.52)
CIE-LCHlch(38.19, 49.24, 132.12°)
OKLaboklab(45.62% -0.0913 0.0825)
OKLCHoklch(45.62% 0.123 137.9)
XYZxyz(6.1350, 10.1966, 2.5088)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306618 #4E1866
analogous
#576618 #306618 #186627
triadic
#306618 #183066 #661830
tetradic
#306618 #185766 #4E1866 #662718
square
#306618 #185766 #4E1866 #662718
split-complementary
#306618 #271866 #661857
monochromatic
#0C1906 #19340C #306618 #479824 #5FC92F

Accessibility & contrast

On white

6.91
#306618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#306618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306618
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306618#FFFFFF#000000##FFFFFF
##3066181.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#2C6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #306618;
/* rgb */ color: rgb(48, 102, 24);
/* oklch */ color: oklch(45.6% 0.123 137.9);
Tailwind
colors: {
  custom: {
    50: '#6e925a',
    500: '#306618',
    950: '#000000',
  },
}
SCSS
$custom: #306618;
$custom-light: #6e925a;
$custom-dark: #000000;
JSON
{
  "hex": "#306618",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 101.538,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.12308,
    "h": 137.9
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#306618
secondary
#7F3E9C
accent
#43E5B3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306618

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

Preview Lab → · Contrast checker → · Palette generator →

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