#238946#238946

#238946 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.137 H 150.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#238946
RGBrgb(35, 137, 70)
HSLhsl(141, 59%, 34%)
HSVhsv(141, 74%, 54%)
CMYKcmyk(74.5%, 0%, 48.9%, 46.3%)
CIE-LABlab(50.32, -44.12, 27.76)
CIE-LCHlch(50.32, 52.13, 147.82°)
OKLaboklab(55.69% -0.1187 0.0678)
OKLCHoklch(55.69% 0.137 150.3)
XYZxyz(10.7434, 18.6896, 8.8344)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238946 #892366
analogous
#338923 #238946 #238979
triadic
#238946 #462389 #894623
tetradic
#238946 #233389 #892366 #897923
square
#238946 #233389 #892366 #897923
split-complementary
#238946 #792389 #892333
monochromatic
#0A2814 #17582D #238946 #2FBA5F #53D37F

Accessibility & contrast

On white

4.43
#238946 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#238946 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238946
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238946#FFFFFF#000000##000000
##2389461.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D41
Deuteranopia (green-blind)
#7E744B
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238946;
/* rgb */ color: rgb(35, 137, 70);
/* oklch */ color: oklch(55.7% 0.137 150.3);
Tailwind
colors: {
  custom: {
    50: '#6eac7a',
    500: '#238946',
    950: '#000000',
  },
}
SCSS
$custom: #238946;
$custom-light: #6eac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#238946",
  "rgb": {
    "r": 35,
    "g": 137,
    "b": 70
  },
  "hsl": {
    "h": 140.588,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.13669,
    "h": 150.3
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#238946
secondary
#B75194
accent
#45ADE2
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238946

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

Preview Lab → · Contrast checker → · Palette generator →

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