#238428#238428

#238428 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.156 H 143.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#238428
RGBrgb(35, 132, 40)
HSLhsl(123, 58%, 33%)
HSVhsv(123, 73%, 52%)
CMYKcmyk(73.5%, 0%, 69.7%, 48.2%)
CIE-LABlab(48.28, -46.43, 40.17)
CIE-LCHlch(48.28, 61.39, 139.13°)
OKLaboklab(53.88% -0.1258 0.0925)
OKLCHoklch(53.88% 0.156 143.7)
XYZxyz(9.3268, 17.0120, 4.7992)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238428 #84237F
analogous
#4E8423 #238428 #238459
triadic
#238428 #282384 #842823
tetradic
#238428 #234E84 #84237F #845923
square
#238428 #234E84 #84237F #845923
split-complementary
#238428 #592384 #84234E
monochromatic
#09230B #165419 #238428 #30B437 #51D157

Accessibility & contrast

On white

4.77
#238428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#238428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238428
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238428#FFFFFF#000000##FFFFFF
##2384281.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771B
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #238428;
/* rgb */ color: rgb(35, 132, 40);
/* oklch */ color: oklch(53.9% 0.156 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ea967',
    500: '#238428',
    950: '#000000',
  },
}
SCSS
$custom: #238428;
$custom-light: #6ea967;
$custom-dark: #000000;
JSON
{
  "hex": "#238428",
  "rgb": {
    "r": 35,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 123.093,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.15611,
    "h": 143.7
  },
  "luminance": 0.17013
}

Semantic roles & 50–950 ramp

primary
#238428
secondary
#B44EAF
accent
#46D9E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238428

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

Preview Lab → · Contrast checker → · Palette generator →

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