#238728#238728

#238728 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.160 H 143.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#238728
RGBrgb(35, 135, 40)
HSLhsl(123, 59%, 33%)
HSVhsv(123, 74%, 53%)
CMYKcmyk(74.1%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.30, -47.48, 41.27)
CIE-LCHlch(49.30, 62.91, 139.01°)
OKLaboklab(54.73% -0.1287 0.0948)
OKLCHoklch(54.73% 0.16 143.6)
XYZxyz(9.7395, 17.8374, 4.9367)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238728 #872382
analogous
#508723 #238728 #23875A
triadic
#238728 #282387 #872823
tetradic
#238728 #235087 #872382 #875A23
square
#238728 #235087 #872382 #875A23
split-complementary
#238728 #5A2387 #872350
monochromatic
#0A260B #16561A #238728 #30B836 #52D259

Accessibility & contrast

On white

4.60
#238728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#238728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #238728
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238728#FFFFFF#000000##FFFFFF
##2387281.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1A
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #238728;
/* rgb */ color: rgb(35, 135, 40);
/* oklch */ color: oklch(54.7% 0.160 143.6);
Tailwind
colors: {
  custom: {
    50: '#6eab67',
    500: '#238728',
    950: '#000000',
  },
}
SCSS
$custom: #238728;
$custom-light: #6eab67;
$custom-dark: #000000;
JSON
{
  "hex": "#238728",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 123,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.15979,
    "h": 143.6
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238728

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

Preview Lab → · Contrast checker → · Palette generator →

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