#338537#338537

#338537 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.139 H 144.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#338537
RGBrgb(51, 133, 55)
HSLhsl(123, 45%, 36%)
HSVhsv(123, 62%, 52%)
CMYKcmyk(61.7%, 0%, 58.6%, 47.8%)
CIE-LABlab(49.20, -41.55, 34.28)
CIE-LCHlch(49.20, 53.87, 140.48°)
OKLaboklab(54.81% -0.1127 0.0813)
OKLCHoklch(54.81% 0.139 144.2)
XYZxyz(10.4417, 17.7537, 6.4902)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338537 #853381
analogous
#588533 #338537 #338560
triadic
#338537 #373385 #853733
tetradic
#338537 #335885 #853381 #856033
square
#338537 #335885 #853381 #856033
split-complementary
#338537 #603385 #853358
monochromatic
#112D12 #225925 #338537 #44B149 #6CC770

Accessibility & contrast

On white

4.61
#338537 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#338537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338537
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338537#FFFFFF#000000##FFFFFF
##3385371.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792F
Deuteranopia (green-blind)
#7D723D
Tritanopia (blue-blind)
#238174
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338537;
/* rgb */ color: rgb(51, 133, 55);
/* oklch */ color: oklch(54.8% 0.139 144.2);
Tailwind
colors: {
  custom: {
    50: '#74a970',
    500: '#338537',
    950: '#000000',
  },
}
SCSS
$custom: #338537;
$custom-light: #74a970;
$custom-dark: #000000;
JSON
{
  "hex": "#338537",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 55
  },
  "hsl": {
    "h": 122.927,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5481,
    "c": 0.13897,
    "h": 144.2
  },
  "luminance": 0.17755
}

Semantic roles & 50–950 ramp

primary
#338537
secondary
#AE65AB
accent
#54CED4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #338537

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

Preview Lab → · Contrast checker → · Palette generator →

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