#238726#238726

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

Color values

HEX#238726
RGBrgb(35, 135, 38)
HSLhsl(122, 59%, 33%)
HSVhsv(122, 74%, 53%)
CMYKcmyk(74.1%, 0%, 71.9%, 47.1%)
CIE-LABlab(49.28, -47.68, 42.09)
CIE-LCHlch(49.28, 63.60, 138.56°)
OKLaboklab(54.71% -0.1293 0.0962)
OKLCHoklch(54.71% 0.161 143.3)
XYZxyz(9.7064, 17.8241, 4.7622)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238726 #872384
analogous
#528723 #238726 #238758
triadic
#238726 #262387 #872623
tetradic
#238726 #235287 #872384 #875823
square
#238726 #235287 #872384 #875823
split-complementary
#238726 #582387 #872352
monochromatic
#0A260B #165618 #238726 #30B834 #52D256

Accessibility & contrast

On white

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

On black

4.56
#238726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##238726#FFFFFF#000000##FFFFFF
##2387261.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #238726;
/* rgb */ color: rgb(35, 135, 38);
/* oklch */ color: oklch(54.7% 0.161 143.3);
Tailwind
colors: {
  custom: {
    50: '#6fab66',
    500: '#238726',
    950: '#000000',
  },
}
SCSS
$custom: #238726;
$custom-light: #6fab66;
$custom-dark: #000000;
JSON
{
  "hex": "#238726",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 121.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54707,
    "c": 0.16117,
    "h": 143.3
  },
  "luminance": 0.17825
}

Semantic roles & 50–950 ramp

primary
#238726
secondary
#B650B3
accent
#46DDE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238726

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

Preview Lab → · Contrast checker → · Palette generator →

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