#338423#338423

#338423 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.153 H 140.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338423
RGBrgb(51, 132, 35)
HSLhsl(110, 58%, 33%)
HSVhsv(110, 73%, 52%)
CMYKcmyk(61.4%, 0%, 73.5%, 48.2%)
CIE-LABlab(48.67, -43.34, 42.81)
CIE-LCHlch(48.67, 60.92, 135.35°)
OKLaboklab(54.31% -0.1186 0.0972)
OKLCHoklch(54.31% 0.153 140.7)
XYZxyz(9.9194, 17.3268, 4.4115)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338423 #742384
analogous
#638423 #338423 #238443
triadic
#338423 #233384 #842333
tetradic
#338423 #236384 #742384 #844323
square
#338423 #236384 #742384 #844323
split-complementary
#338423 #432384 #842363
monochromatic
#0E2309 #205416 #338423 #46B430 #66D151

Accessibility & contrast

On white

4.70
#338423 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#338423 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338423
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338423#FFFFFF#000000##FFFFFF
##3384231.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#7E712D
Tritanopia (blue-blind)
#288071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338423;
/* rgb */ color: rgb(51, 132, 35);
/* oklch */ color: oklch(54.3% 0.153 140.7);
Tailwind
colors: {
  custom: {
    50: '#75a964',
    500: '#338423',
    950: '#000000',
  },
}
SCSS
$custom: #338423;
$custom-light: #75a964;
$custom-dark: #000000;
JSON
{
  "hex": "#338423",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 35
  },
  "hsl": {
    "h": 110.103,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54314,
    "c": 0.15339,
    "h": 140.7
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#338423
secondary
#A44EB4
accent
#46E1C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338423

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

Preview Lab → · Contrast checker → · Palette generator →

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