#238628#238628

#238628 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.159 H 143.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#238628
RGBrgb(35, 134, 40)
HSLhsl(123, 59%, 33%)
HSVhsv(123, 74%, 53%)
CMYKcmyk(73.9%, 0%, 70.1%, 47.5%)
CIE-LABlab(48.96, -47.13, 40.90)
CIE-LCHlch(48.96, 62.41, 139.05°)
OKLaboklab(54.44% -0.1277 0.094)
OKLCHoklch(54.44% 0.159 143.6)
XYZxyz(9.6006, 17.5597, 4.8905)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238628 #862381
analogous
#4F8623 #238628 #238659
triadic
#238628 #282386 #862823
tetradic
#238628 #234F86 #862381 #865923
square
#238628 #234F86 #862381 #865923
split-complementary
#238628 #592386 #86234F
monochromatic
#0A250B #16551A #238628 #30B736 #52D258

Accessibility & contrast

On white

4.65
#238628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#238628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #238628
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238628#FFFFFF#000000##FFFFFF
##2386281.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89791B
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #238628;
/* rgb */ color: rgb(35, 134, 40);
/* oklch */ color: oklch(54.4% 0.159 143.6);
Tailwind
colors: {
  custom: {
    50: '#6eaa67',
    500: '#238628',
    950: '#000000',
  },
}
SCSS
$custom: #238628;
$custom-light: #6eaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#238628",
  "rgb": {
    "r": 35,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 123.03,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.15856,
    "h": 143.6
  },
  "luminance": 0.17561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238628

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

Preview Lab → · Contrast checker → · Palette generator →

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