#307336#307336

#307336 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.7% C 0.116 H 145.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#307336
RGBrgb(48, 115, 54)
HSLhsl(125, 41%, 32%)
HSVhsv(125, 58%, 45%)
CMYKcmyk(58.3%, 0%, 53%, 54.9%)
CIE-LABlab(43.00, -35.04, 27.31)
CIE-LCHlch(43.00, 44.43, 142.06°)
OKLaboklab(49.67% -0.095 0.0659)
OKLCHoklch(49.67% 0.116 145.2)
XYZxyz(8.0150, 13.1555, 5.6062)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307336 #73306D
analogous
#4C7330 #307336 #307358
triadic
#307336 #363073 #733630
tetradic
#307336 #304C73 #73306D #735830
square
#307336 #304C73 #73306D #735830
split-complementary
#307336 #583073 #73304C
monochromatic
#0C1D0D #1E4822 #307336 #429E4A #61BD69

Accessibility & contrast

On white

5.78
#307336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#307336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307336
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307336#FFFFFF#000000##FFFFFF
##3073361.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756931
Deuteranopia (green-blind)
#6C633A
Tritanopia (blue-blind)
#247065
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #307336;
/* rgb */ color: rgb(48, 115, 54);
/* oklch */ color: oklch(49.7% 0.116 145.2);
Tailwind
colors: {
  custom: {
    50: '#6f9c6e',
    500: '#307336',
    950: '#000000',
  },
}
SCSS
$custom: #307336;
$custom-light: #6f9c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#307336",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 54
  },
  "hsl": {
    "h": 125.373,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.11562,
    "h": 145.2
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#307336
secondary
#A45B9D
accent
#57C6D1
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #307336

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

Preview Lab → · Contrast checker → · Palette generator →

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