#238828#238828

#238828 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.161 H 143.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#238828
RGBrgb(35, 136, 40)
HSLhsl(123, 59%, 34%)
HSVhsv(123, 74%, 53%)
CMYKcmyk(74.3%, 0%, 70.6%, 46.7%)
CIE-LABlab(49.64, -47.83, 41.63)
CIE-LCHlch(49.64, 63.41, 138.97°)
OKLaboklab(55.01% -0.1296 0.0955)
OKLCHoklch(55.01% 0.161 143.6)
XYZxyz(9.8797, 18.1177, 4.9835)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238828 #882383
analogous
#508823 #238828 #23885A
triadic
#238828 #282388 #882823
tetradic
#238828 #235088 #882383 #885A23
square
#238828 #235088 #882383 #885A23
split-complementary
#238828 #5A2388 #882350
monochromatic
#0A270B #16571A #238828 #30B936 #53D359

Accessibility & contrast

On white

4.54
#238828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#238828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238828
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238828#FFFFFF#000000##000000
##2388281.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #238828;
/* rgb */ color: rgb(35, 136, 40);
/* oklch */ color: oklch(55.0% 0.161 143.6);
Tailwind
colors: {
  custom: {
    50: '#6fac67',
    500: '#238828',
    950: '#000000',
  },
}
SCSS
$custom: #238828;
$custom-light: #6fac67;
$custom-dark: #000000;
JSON
{
  "hex": "#238828",
  "rgb": {
    "r": 35,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 122.97,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55008,
    "c": 0.161,
    "h": 143.6
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#238828
secondary
#B750B1
accent
#46DAE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238828

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

Preview Lab → · Contrast checker → · Palette generator →

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