#238336#238336

#238336 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.143 H 146.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#238336
RGBrgb(35, 131, 54)
HSLhsl(132, 58%, 33%)
HSVhsv(132, 73%, 51%)
CMYKcmyk(73.3%, 0%, 58.8%, 48.6%)
CIE-LABlab(48.08, -44.36, 33.35)
CIE-LCHlch(48.08, 55.50, 143.06°)
OKLaboklab(53.76% -0.1196 0.0793)
OKLCHoklch(53.76% 0.143 146.5)
XYZxyz(9.4746, 16.8552, 6.2434)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238336 #832370
analogous
#408323 #238336 #238366
triadic
#238336 #362383 #833623
tetradic
#238336 #234083 #832370 #836623
square
#238336 #234083 #832370 #836623
split-complementary
#238336 #662383 #832340
monochromatic
#09220E #165322 #238336 #30B34A #50D069

Accessibility & contrast

On white

4.80
#238336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#238336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238336
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238336#FFFFFF#000000##FFFFFF
##2383361.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772E
Deuteranopia (green-blind)
#7A6F3C
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #238336;
/* rgb */ color: rgb(35, 131, 54);
/* oklch */ color: oklch(53.8% 0.143 146.5);
Tailwind
colors: {
  custom: {
    50: '#6da86f',
    500: '#238336',
    950: '#000000',
  },
}
SCSS
$custom: #238336;
$custom-light: #6da86f;
$custom-dark: #000000;
JSON
{
  "hex": "#238336",
  "rgb": {
    "r": 35,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 131.875,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53759,
    "c": 0.14349,
    "h": 146.5
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#238336
secondary
#B44EA0
accent
#47C3E1
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238336

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

Preview Lab → · Contrast checker → · Palette generator →

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