#338436#338436

#338436 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.138 H 144.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#338436
RGBrgb(51, 132, 54)
HSLhsl(122, 44%, 36%)
HSVhsv(122, 61%, 52%)
CMYKcmyk(61.4%, 0%, 59.1%, 48.2%)
CIE-LABlab(48.85, -41.28, 34.37)
CIE-LCHlch(48.85, 53.72, 140.22°)
OKLaboklab(54.52% -0.112 0.0814)
OKLCHoklch(54.52% 0.138 144)
XYZxyz(10.2818, 17.4717, 6.3199)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338436 #843381
analogous
#588433 #338436 #33845E
triadic
#338436 #363384 #843633
tetradic
#338436 #335884 #843381 #845E33
square
#338436 #335884 #843381 #845E33
split-complementary
#338436 #5E3384 #843358
monochromatic
#112C12 #225824 #338436 #44B048 #6BC66F

Accessibility & contrast

On white

4.67
#338436 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#338436 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338436
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338436#FFFFFF#000000##FFFFFF
##3384361.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87782E
Deuteranopia (green-blind)
#7C713C
Tritanopia (blue-blind)
#248073
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338436;
/* rgb */ color: rgb(51, 132, 54);
/* oklch */ color: oklch(54.5% 0.138 144.0);
Tailwind
colors: {
  custom: {
    50: '#74a86f',
    500: '#338436',
    950: '#000000',
  },
}
SCSS
$custom: #338436;
$custom-light: #74a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#338436",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 54
  },
  "hsl": {
    "h": 122.222,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5452,
    "c": 0.13849,
    "h": 144
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#338436
secondary
#AE65AB
accent
#54CFD4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338436

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

Preview Lab → · Contrast checker → · Palette generator →

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