#238231#238231

#238231 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.147 H 145.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#238231
RGBrgb(35, 130, 49)
HSLhsl(129, 58%, 32%)
HSVhsv(129, 73%, 51%)
CMYKcmyk(73.1%, 0%, 62.3%, 49%)
CIE-LABlab(47.68, -44.66, 35.36)
CIE-LCHlch(47.68, 56.97, 141.63°)
OKLaboklab(53.41% -0.1206 0.0832)
OKLCHoklch(53.41% 0.147 145.4)
XYZxyz(9.2295, 16.5433, 5.6119)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238231 #822374
analogous
#458223 #238231 #238261
triadic
#238231 #312382 #823123
tetradic
#238231 #234582 #822374 #826123
square
#238231 #234582 #822374 #826123
split-complementary
#238231 #612382 #822345
monochromatic
#09220D #16521F #238231 #30B243 #50D063

Accessibility & contrast

On white

4.87
#238231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#238231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238231
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238231#FFFFFF#000000##FFFFFF
##2382311.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #238231;
/* rgb */ color: rgb(35, 130, 49);
/* oklch */ color: oklch(53.4% 0.147 145.4);
Tailwind
colors: {
  custom: {
    50: '#6da76c',
    500: '#238231',
    950: '#000000',
  },
}
SCSS
$custom: #238231;
$custom-light: #6da76c;
$custom-dark: #000000;
JSON
{
  "hex": "#238231",
  "rgb": {
    "r": 35,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 128.842,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53412,
    "c": 0.14651,
    "h": 145.4
  },
  "luminance": 0.16544
}

Semantic roles & 50–950 ramp

primary
#238231
secondary
#B34DA4
accent
#47CAE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238231

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

Preview Lab → · Contrast checker → · Palette generator →

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