#238138#238138

#238138 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.139 H 147.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#238138
RGBrgb(35, 129, 56)
HSLhsl(133, 57%, 32%)
HSVhsv(133, 73%, 51%)
CMYKcmyk(72.9%, 0%, 56.6%, 49.4%)
CIE-LABlab(47.42, -43.32, 31.55)
CIE-LCHlch(47.42, 53.60, 143.93°)
OKLaboklab(53.22% -0.1167 0.0755)
OKLCHoklch(53.22% 0.139 147.1)
XYZxyz(9.2565, 16.3423, 6.4072)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238138 #81236C
analogous
#3D8123 #238138 #238167
triadic
#238138 #382381 #813823
tetradic
#238138 #233D81 #81236C #816723
square
#238138 #233D81 #81236C #816723
split-complementary
#238138 #672381 #81233D
monochromatic
#09210E #165123 #238138 #30B14D #4FCF6C

Accessibility & contrast

On white

4.92
#238138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#238138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238138
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238138#FFFFFF#000000##FFFFFF
##2381381.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837531
Deuteranopia (green-blind)
#776D3E
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #238138;
/* rgb */ color: rgb(35, 129, 56);
/* oklch */ color: oklch(53.2% 0.139 147.1);
Tailwind
colors: {
  custom: {
    50: '#6ca670',
    500: '#238138',
    950: '#000000',
  },
}
SCSS
$custom: #238138;
$custom-light: #6ca670;
$custom-dark: #000000;
JSON
{
  "hex": "#238138",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 133.404,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53224,
    "c": 0.13902,
    "h": 147.1
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#238138
secondary
#B34D9C
accent
#47BEE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #238138

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

Preview Lab → · Contrast checker → · Palette generator →

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