#238031#238031

#238031 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.144 H 145.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#238031
RGBrgb(35, 128, 49)
HSLhsl(129, 57%, 32%)
HSVhsv(129, 73%, 50%)
CMYKcmyk(72.7%, 0%, 61.7%, 49.8%)
CIE-LABlab(47.00, -43.92, 34.57)
CIE-LCHlch(47.00, 55.90, 141.79°)
OKLaboklab(52.85% -0.1186 0.0815)
OKLCHoklch(52.85% 0.144 145.5)
XYZxyz(8.9661, 16.0164, 5.5241)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238031 #802372
analogous
#448023 #238031 #238060
triadic
#238031 #312380 #803123
tetradic
#238031 #234480 #802372 #806023
square
#238031 #234480 #802372 #806023
split-complementary
#238031 #602380 #802344
monochromatic
#09200C #16501F #238031 #30B043 #4FCF62

Accessibility & contrast

On white

5.00
#238031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#238031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238031
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238031#FFFFFF#000000##FFFFFF
##2380311.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #238031;
/* rgb */ color: rgb(35, 128, 49);
/* oklch */ color: oklch(52.8% 0.144 145.5);
Tailwind
colors: {
  custom: {
    50: '#6ca66c',
    500: '#238031',
    950: '#000000',
  },
}
SCSS
$custom: #238031;
$custom-light: #6ca66c;
$custom-dark: #000000;
JSON
{
  "hex": "#238031",
  "rgb": {
    "r": 35,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 129.032,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52846,
    "c": 0.1439,
    "h": 145.5
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#238031
secondary
#B24DA3
accent
#47C9E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #238031

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

Preview Lab → · Contrast checker → · Palette generator →

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