#238638#238638

#238638 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.146 H 146.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#238638
RGBrgb(35, 134, 56)
HSLhsl(133, 59%, 33%)
HSVhsv(133, 74%, 53%)
CMYKcmyk(73.9%, 0%, 58.2%, 47.5%)
CIE-LABlab(49.12, -45.19, 33.59)
CIE-LCHlch(49.12, 56.30, 143.38°)
OKLaboklab(54.63% -0.1218 0.0799)
OKLCHoklch(54.63% 0.146 146.7)
XYZxyz(9.9313, 17.6919, 6.6321)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238638 #862371
analogous
#3F8623 #238638 #238669
triadic
#238638 #382386 #863823
tetradic
#238638 #233F86 #862371 #866923
square
#238638 #233F86 #862371 #866923
split-complementary
#238638 #692386 #86233F
monochromatic
#0A250F #165524 #238638 #30B74C #52D26D

Accessibility & contrast

On white

4.63
#238638 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#238638 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #238638
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238638#FFFFFF#000000##FFFFFF
##2386381.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A30
Deuteranopia (green-blind)
#7C723E
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #238638;
/* rgb */ color: rgb(35, 134, 56);
/* oklch */ color: oklch(54.6% 0.146 146.7);
Tailwind
colors: {
  custom: {
    50: '#6daa71',
    500: '#238638',
    950: '#000000',
  },
}
SCSS
$custom: #238638;
$custom-light: #6daa71;
$custom-dark: #000000;
JSON
{
  "hex": "#238638",
  "rgb": {
    "r": 35,
    "g": 134,
    "b": 56
  },
  "hsl": {
    "h": 132.727,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.14567,
    "h": 146.7
  },
  "luminance": 0.17693
}

Semantic roles & 50–950 ramp

primary
#238638
secondary
#B54FA0
accent
#46C1E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #238638

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

Preview Lab → · Contrast checker → · Palette generator →

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