#338430#338430

#338430 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.144 H 142.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#338430
RGBrgb(51, 132, 48)
HSLhsl(118, 47%, 35%)
HSVhsv(118, 64%, 52%)
CMYKcmyk(61.4%, 0%, 63.6%, 48.2%)
CIE-LABlab(48.78, -42.03, 37.22)
CIE-LCHlch(48.78, 56.14, 138.47°)
OKLaboklab(54.45% -0.1143 0.087)
OKLCHoklch(54.45% 0.144 142.7)
XYZxyz(10.1495, 17.4188, 5.6230)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338430 #813084
analogous
#5D8430 #338430 #308457
triadic
#338430 #303384 #843033
tetradic
#338430 #305D84 #813084 #845730
square
#338430 #305D84 #813084 #845730
split-complementary
#338430 #573084 #84305D
monochromatic
#102A0F #225720 #338430 #44B140 #6AC867

Accessibility & contrast

On white

4.68
#338430 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#338430 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338430
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338430#FFFFFF#000000##FFFFFF
##3384301.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877827
Deuteranopia (green-blind)
#7D7137
Tritanopia (blue-blind)
#258072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338430;
/* rgb */ color: rgb(51, 132, 48);
/* oklch */ color: oklch(54.4% 0.144 142.7);
Tailwind
colors: {
  custom: {
    50: '#74a86c',
    500: '#338430',
    950: '#000000',
  },
}
SCSS
$custom: #338430;
$custom-light: #74a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#338430",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 48
  },
  "hsl": {
    "h": 117.857,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54445,
    "c": 0.14366,
    "h": 142.7
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#338430
secondary
#AC61AF
accent
#51D6D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338430

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

Preview Lab → · Contrast checker → · Palette generator →

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