#306229#306229

#306229 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.7% C 0.103 H 141.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#306229
RGBrgb(48, 98, 41)
HSLhsl(113, 41%, 27%)
HSVhsv(113, 58%, 38%)
CMYKcmyk(51%, 0%, 58.2%, 61.6%)
CIE-LABlab(36.97, -29.39, 27.02)
CIE-LCHlch(36.97, 39.93, 137.41°)
OKLaboklab(44.67% -0.0803 0.0643)
OKLCHoklch(44.67% 0.103 141.3)
XYZxyz(5.9866, 9.5234, 3.6201)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306229 #5B2962
analogous
#4C6229 #306229 #29623F
triadic
#306229 #293062 #622930
tetradic
#306229 #294C62 #5B2962 #623F29
square
#306229 #294C62 #5B2962 #623F29
split-complementary
#306229 #3F2962 #62294C
monochromatic
#0B1609 #1B3717 #306229 #458D3B #5CB650

Accessibility & contrast

On white

7.23
#306229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#306229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306229
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306229#FFFFFF#000000##FFFFFF
##3062291.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A24
Deuteranopia (green-blind)
#5E552D
Tritanopia (blue-blind)
#2B5F55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306229;
/* rgb */ color: rgb(48, 98, 41);
/* oklch */ color: oklch(44.7% 0.103 141.3);
Tailwind
colors: {
  custom: {
    50: '#6d8f64',
    500: '#306229',
    950: '#000000',
  },
}
SCSS
$custom: #306229;
$custom-light: #6d8f64;
$custom-dark: #000000;
JSON
{
  "hex": "#306229",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 41
  },
  "hsl": {
    "h": 112.632,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44672,
    "c": 0.10288,
    "h": 141.3
  },
  "luminance": 0.09524
}

Semantic roles & 50–950 ramp

primary
#306229
secondary
#8C5295
accent
#57D1C2
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #306229

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

Preview Lab → · Contrast checker → · Palette generator →

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