#306331#306331

#306331 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.096 H 144.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#306331
RGBrgb(48, 99, 49)
HSLhsl(121, 35%, 29%)
HSVhsv(121, 52%, 39%)
CMYKcmyk(51.5%, 0%, 50.5%, 61.2%)
CIE-LABlab(37.43, -28.66, 23.17)
CIE-LCHlch(37.43, 36.85, 141.05°)
OKLaboklab(45.08% -0.0779 0.0563)
OKLCHoklch(45.08% 0.096 144.2)
XYZxyz(6.2348, 9.7734, 4.4630)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306331 #633062
analogous
#496330 #306331 #30634B
triadic
#306331 #313063 #633130
tetradic
#306331 #304963 #633062 #634B30
square
#306331 #304963 #633062 #634B30
split-complementary
#306331 #4B3063 #633049
monochromatic
#0A150A #1C3A1D #306331 #448C45 #5DB05F

Accessibility & contrast

On white

7.11
#306331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#306331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306331
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306331#FFFFFF#000000##FFFFFF
##3063311.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2D
Deuteranopia (green-blind)
#5E5634
Tritanopia (blue-blind)
#296157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #306331;
/* rgb */ color: rgb(48, 99, 49);
/* oklch */ color: oklch(45.1% 0.096 144.2);
Tailwind
colors: {
  custom: {
    50: '#6c906a',
    500: '#306331',
    950: '#000000',
  },
}
SCSS
$custom: #306331;
$custom-light: #6c906a;
$custom-dark: #000000;
JSON
{
  "hex": "#306331",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 121.176,
    "s": 34.694,
    "l": 28.824
  },
  "oklch": {
    "l": 0.45085,
    "c": 0.09615,
    "h": 144.2
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#306331
secondary
#945A93
accent
#5DC9CB
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #306331

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

Preview Lab → · Contrast checker → · Palette generator →

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