#307334#307334

#307334 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.6% C 0.118 H 144.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#307334
RGBrgb(48, 115, 52)
HSLhsl(124, 41%, 32%)
HSVhsv(124, 58%, 45%)
CMYKcmyk(58.3%, 0%, 54.8%, 54.9%)
CIE-LABlab(42.97, -35.34, 28.35)
CIE-LCHlch(42.97, 45.31, 141.26°)
OKLaboklab(49.64% -0.0959 0.0681)
OKLCHoklch(49.64% 0.118 144.6)
XYZxyz(7.9690, 13.1371, 5.3639)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307334 #73306F
analogous
#4E7330 #307334 #307356
triadic
#307334 #343073 #733430
tetradic
#307334 #304E73 #73306F #735630
square
#307334 #304E73 #73306F #735630
split-complementary
#307334 #563073 #73304E
monochromatic
#0C1D0D #1E4820 #307334 #429E48 #61BD66

Accessibility & contrast

On white

5.79
#307334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307334
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307334#FFFFFF#000000##FFFFFF
##3073341.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692E
Deuteranopia (green-blind)
#6C6339
Tritanopia (blue-blind)
#247065
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #307334;
/* rgb */ color: rgb(48, 115, 52);
/* oklch */ color: oklch(49.6% 0.118 144.6);
Tailwind
colors: {
  custom: {
    50: '#6f9c6d',
    500: '#307334',
    950: '#000000',
  },
}
SCSS
$custom: #307334;
$custom-light: #6f9c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#307334",
  "rgb": {
    "r": 48,
    "g": 115,
    "b": 52
  },
  "hsl": {
    "h": 123.582,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49642,
    "c": 0.1176,
    "h": 144.6
  },
  "luminance": 0.13138
}

Semantic roles & 50–950 ramp

primary
#307334
secondary
#A45BA0
accent
#57CAD1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #307334

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

Preview Lab → · Contrast checker → · Palette generator →

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