#338229#338229

#338229 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.147 H 141.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#338229
RGBrgb(51, 130, 41)
HSLhsl(113, 52%, 34%)
HSVhsv(113, 68%, 51%)
CMYKcmyk(60.8%, 0%, 68.5%, 49%)
CIE-LABlab(48.04, -42.01, 39.61)
CIE-LCHlch(48.04, 57.74, 136.68°)
OKLaboklab(53.81% -0.1147 0.0913)
OKLCHoklch(53.81% 0.147 141.5)
XYZxyz(9.7476, 16.8283, 4.8319)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338229 #782982
analogous
#5F8229 #338229 #29824B
triadic
#338229 #293382 #822933
tetradic
#338229 #295F82 #782982 #824B29
square
#338229 #295F82 #782982 #824B29
split-complementary
#338229 #4B2982 #82295F
monochromatic
#0E250C #21531A #338229 #45B138 #67CB5A

Accessibility & contrast

On white

4.81
#338229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#338229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338229
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338229#FFFFFF#000000##FFFFFF
##3382291.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#277E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338229;
/* rgb */ color: rgb(51, 130, 41);
/* oklch */ color: oklch(53.8% 0.147 141.5);
Tailwind
colors: {
  custom: {
    50: '#74a767',
    500: '#338229',
    950: '#000000',
  },
}
SCSS
$custom: #338229;
$custom-light: #74a767;
$custom-dark: #000000;
JSON
{
  "hex": "#338229",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 113.258,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53813,
    "c": 0.14658,
    "h": 141.5
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#338229
secondary
#A656B0
accent
#4CDBCB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #338229

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

Preview Lab → · Contrast checker → · Palette generator →

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