#306239#306239

#306239 is a dark, moderate green. Relative luminance 0.097; OKLCH L 45.0% C 0.086 H 148.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#306239
RGBrgb(48, 98, 57)
HSLhsl(131, 34%, 29%)
HSVhsv(131, 51%, 38%)
CMYKcmyk(51%, 0%, 41.8%, 61.6%)
CIE-LABlab(37.22, -26.79, 18.28)
CIE-LCHlch(37.22, 32.43, 145.70°)
OKLaboklab(44.96% -0.0728 0.0454)
OKLCHoklch(44.96% 0.086 148.1)
XYZxyz(6.3247, 9.6587, 5.4011)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306239 #623059
analogous
#406230 #306239 #306252
triadic
#306239 #393062 #623930
tetradic
#306239 #304062 #623059 #625230
square
#306239 #304062 #623059 #625230
split-complementary
#306239 #523062 #623040
monochromatic
#0A150C #1C3921 #306239 #448B51 #5DB06C

Accessibility & contrast

On white

7.16
#306239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#306239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306239
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306239#FFFFFF#000000##FFFFFF
##3062391.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635B36
Deuteranopia (green-blind)
#5C563C
Tritanopia (blue-blind)
#276058
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #306239;
/* rgb */ color: rgb(48, 98, 57);
/* oklch */ color: oklch(45.0% 0.086 148.1);
Tailwind
colors: {
  custom: {
    50: '#6c8f70',
    500: '#306239',
    950: '#000000',
  },
}
SCSS
$custom: #306239;
$custom-light: #6c8f70;
$custom-dark: #000000;
JSON
{
  "hex": "#306239",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 57
  },
  "hsl": {
    "h": 130.8,
    "s": 34.247,
    "l": 28.627
  },
  "oklch": {
    "l": 0.44957,
    "c": 0.08577,
    "h": 148.1
  },
  "luminance": 0.09659
}

Semantic roles & 50–950 ramp

primary
#306239
secondary
#935A89
accent
#5DB7CA
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #306239

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

Preview Lab → · Contrast checker → · Palette generator →

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