#238131#238131

#238131 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.145 H 145.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#238131
RGBrgb(35, 129, 49)
HSLhsl(129, 57%, 32%)
HSVhsv(129, 73%, 51%)
CMYKcmyk(72.9%, 0%, 62%, 49.4%)
CIE-LABlab(47.34, -44.29, 34.97)
CIE-LCHlch(47.34, 56.43, 141.71°)
OKLaboklab(53.13% -0.1196 0.0824)
OKLCHoklch(53.13% 0.145 145.5)
XYZxyz(9.0971, 16.2786, 5.5678)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238131 #812373
analogous
#448123 #238131 #238160
triadic
#238131 #312381 #813123
tetradic
#238131 #234481 #812373 #816023
square
#238131 #234481 #812373 #816023
split-complementary
#238131 #602381 #812344
monochromatic
#09210C #16511F #238131 #30B143 #4FCF62

Accessibility & contrast

On white

4.93
#238131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#238131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238131
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238131#FFFFFF#000000##FFFFFF
##2381311.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837528
Deuteranopia (green-blind)
#786D38
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #238131;
/* rgb */ color: rgb(35, 129, 49);
/* oklch */ color: oklch(53.1% 0.145 145.5);
Tailwind
colors: {
  custom: {
    50: '#6da66c',
    500: '#238131',
    950: '#000000',
  },
}
SCSS
$custom: #238131;
$custom-light: #6da66c;
$custom-dark: #000000;
JSON
{
  "hex": "#238131",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 128.936,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53129,
    "c": 0.14521,
    "h": 145.5
  },
  "luminance": 0.1628
}

Semantic roles & 50–950 ramp

primary
#238131
secondary
#B34DA4
accent
#47CAE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #238131

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

Preview Lab → · Contrast checker → · Palette generator →

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