#306247#306247

#306247 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.3% C 0.071 H 158.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#306247
RGBrgb(48, 98, 71)
HSLhsl(148, 34%, 29%)
HSVhsv(148, 51%, 38%)
CMYKcmyk(51%, 0%, 27.6%, 61.6%)
CIE-LABlab(37.51, -23.88, 10.28)
CIE-LCHlch(37.51, 26.00, 156.71°)
OKLaboklab(45.29% -0.0656 0.0262)
OKLCHoklch(45.29% 0.071 158.2)
XYZxyz(6.7234, 9.8181, 7.5008)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306247 #62304B
analogous
#326230 #306247 #306260
triadic
#306247 #473062 #624730
tetradic
#306247 #303262 #62304B #626030
square
#306247 #303262 #62304B #626030
split-complementary
#306247 #603062 #623032
monochromatic
#0A150F #1C3929 #306247 #448B65 #5DB083

Accessibility & contrast

On white

7.09
#306247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#306247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306247
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306247#FFFFFF#000000##FFFFFF
##3062471.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615B45
Deuteranopia (green-blind)
#5A5649
Tritanopia (blue-blind)
#23615B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #306247;
/* rgb */ color: rgb(48, 98, 71);
/* oklch */ color: oklch(45.3% 0.071 158.2);
Tailwind
colors: {
  custom: {
    50: '#6c8f7a',
    500: '#306247',
    950: '#000000',
  },
}
SCSS
$custom: #306247;
$custom-light: #6c8f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#306247",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 71
  },
  "hsl": {
    "h": 147.6,
    "s": 34.247,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4529,
    "c": 0.07067,
    "h": 158.2
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#306247
secondary
#935A79
accent
#5D98CA
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C09
muted
#7A7D7B

Preview Lab

Preview with #306247

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

Preview Lab → · Contrast checker → · Palette generator →

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