#338239#338239

#338239 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.133 H 144.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#338239
RGBrgb(51, 130, 57)
HSLhsl(125, 44%, 35%)
HSVhsv(125, 61%, 51%)
CMYKcmyk(60.8%, 0%, 56.2%, 49%)
CIE-LABlab(48.21, -40.07, 32.10)
CIE-LCHlch(48.21, 51.34, 141.30°)
OKLaboklab(54.01% -0.1086 0.0767)
OKLCHoklch(54.01% 0.133 144.8)
XYZxyz(10.0858, 16.9636, 6.6129)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338239 #82337C
analogous
#548233 #338239 #338260
triadic
#338239 #393382 #823933
tetradic
#338239 #335482 #82337C #826033
square
#338239 #335482 #82337C #826033
split-complementary
#338239 #603382 #823354
monochromatic
#112A12 #225626 #338239 #44AE4C #6BC571

Accessibility & contrast

On white

4.78
#338239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#338239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338239
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338239#FFFFFF#000000##FFFFFF
##3382391.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847732
Deuteranopia (green-blind)
#7A703E
Tritanopia (blue-blind)
#237F72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338239;
/* rgb */ color: rgb(51, 130, 57);
/* oklch */ color: oklch(54.0% 0.133 144.8);
Tailwind
colors: {
  custom: {
    50: '#73a771',
    500: '#338239',
    950: '#000000',
  },
}
SCSS
$custom: #338239;
$custom-light: #73a771;
$custom-dark: #000000;
JSON
{
  "hex": "#338239",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 124.557,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54009,
    "c": 0.13296,
    "h": 144.8
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#338239
secondary
#AD64A7
accent
#54CAD3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #338239

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

Preview Lab → · Contrast checker → · Palette generator →

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