#238331#238331

#238331 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.148 H 145.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#238331
RGBrgb(35, 131, 49)
HSLhsl(129, 58%, 33%)
HSVhsv(129, 73%, 51%)
CMYKcmyk(73.3%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.02, -45.03, 35.75)
CIE-LCHlch(48.02, 57.50, 141.55°)
OKLaboklab(53.69% -0.1216 0.084)
OKLCHoklch(53.69% 0.148 145.3)
XYZxyz(9.3632, 16.8106, 5.6565)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238331 #832375
analogous
#458323 #238331 #238361
triadic
#238331 #312383 #833123
tetradic
#238331 #234583 #832375 #836123
square
#238331 #234583 #832375 #836123
split-complementary
#238331 #612383 #832345
monochromatic
#09220D #16531F #238331 #30B343 #50D063

Accessibility & contrast

On white

4.81
#238331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#238331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238331
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238331#FFFFFF#000000##FFFFFF
##2383311.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #238331;
/* rgb */ color: rgb(35, 131, 49);
/* oklch */ color: oklch(53.7% 0.148 145.3);
Tailwind
colors: {
  custom: {
    50: '#6da86c',
    500: '#238331',
    950: '#000000',
  },
}
SCSS
$custom: #238331;
$custom-light: #6da86c;
$custom-dark: #000000;
JSON
{
  "hex": "#238331",
  "rgb": {
    "r": 35,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 128.75,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53694,
    "c": 0.14781,
    "h": 145.3
  },
  "luminance": 0.16812
}

Semantic roles & 50–950 ramp

primary
#238331
secondary
#B44EA5
accent
#47CBE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238331

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

Preview Lab → · Contrast checker → · Palette generator →

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