#238731#238731

#238731 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.153 H 145.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#238731
RGBrgb(35, 135, 49)
HSLhsl(128, 59%, 33%)
HSVhsv(128, 74%, 53%)
CMYKcmyk(74.1%, 0%, 63.7%, 47.1%)
CIE-LABlab(49.38, -46.48, 37.31)
CIE-LCHlch(49.38, 59.60, 141.25°)
OKLaboklab(54.82% -0.1255 0.0874)
OKLCHoklch(54.82% 0.153 145.2)
XYZxyz(9.9108, 17.9059, 5.8390)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238731 #872379
analogous
#478723 #238731 #238763
triadic
#238731 #312387 #873123
tetradic
#238731 #234787 #872379 #876323
square
#238731 #234787 #872379 #876323
split-complementary
#238731 #632387 #872347
monochromatic
#0A260E #16561F #238731 #30B843 #52D264

Accessibility & contrast

On white

4.58
#238731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#238731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238731
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238731#FFFFFF#000000##000000
##2387311.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A27
Deuteranopia (green-blind)
#7E7238
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #238731;
/* rgb */ color: rgb(35, 135, 49);
/* oklch */ color: oklch(54.8% 0.153 145.2);
Tailwind
colors: {
  custom: {
    50: '#6eab6c',
    500: '#238731',
    950: '#000000',
  },
}
SCSS
$custom: #238731;
$custom-light: #6eab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#238731",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 128.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.15293,
    "h": 145.2
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#238731
secondary
#B650A8
accent
#46CCE2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238731

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

Preview Lab → · Contrast checker → · Palette generator →

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