#306334#306334

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

Color values

HEX#306334
RGBrgb(48, 99, 52)
HSLhsl(125, 35%, 29%)
HSVhsv(125, 52%, 39%)
CMYKcmyk(51.5%, 0%, 47.5%, 61.2%)
CIE-LABlab(37.48, -28.16, 21.52)
CIE-LCHlch(37.48, 35.44, 142.62°)
OKLaboklab(45.14% -0.0765 0.0527)
OKLCHoklch(45.14% 0.093 145.4)
XYZxyz(6.3003, 9.7995, 4.8077)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306334 #63305F
analogous
#466330 #306334 #30634E
triadic
#306334 #343063 #633430
tetradic
#306334 #304663 #63305F #634E30
square
#306334 #304663 #63305F #634E30
split-complementary
#306334 #4E3063 #633046
monochromatic
#0A150B #1C3A1E #306334 #448C4A #5DB064

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306334#FFFFFF#000000##FFFFFF
##3063341.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)
#655B30
Deuteranopia (green-blind)
#5D5637
Tritanopia (blue-blind)
#286158
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #306334;
/* rgb */ color: rgb(48, 99, 52);
/* oklch */ color: oklch(45.1% 0.093 145.4);
Tailwind
colors: {
  custom: {
    50: '#6c906c',
    500: '#306334',
    950: '#000000',
  },
}
SCSS
$custom: #306334;
$custom-light: #6c906c;
$custom-dark: #000000;
JSON
{
  "hex": "#306334",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 52
  },
  "hsl": {
    "h": 124.706,
    "s": 34.694,
    "l": 28.824
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.09291,
    "h": 145.4
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#306334
secondary
#945A90
accent
#5DC2CB
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #306334

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

Preview Lab → · Contrast checker → · Palette generator →

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