#238D2C#238D2C

#238D2C is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.164 H 144.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#238D2C
RGBrgb(35, 141, 44)
HSLhsl(125, 60%, 35%)
HSVhsv(125, 75%, 55%)
CMYKcmyk(75.2%, 0%, 68.8%, 44.7%)
CIE-LABlab(51.37, -49.16, 41.77)
CIE-LCHlch(51.37, 64.51, 139.65°)
OKLaboklab(56.45% -0.133 0.0963)
OKLCHoklch(56.45% 0.164 144.1)
XYZxyz(10.6719, 19.5877, 5.6008)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D2C #8D2384
analogous
#4F8D23 #238D2C #238D61
triadic
#238D2C #2C238D #8D2C23
tetradic
#238D2C #234F8D #8D2384 #8D6123
square
#238D2C #234F8D #8D2384 #8D6123
split-complementary
#238D2C #61238D #8D234F
monochromatic
#0B2B0D #175C1D #238D2C #2FBE3B #55D560

Accessibility & contrast

On white

4.27
#238D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#238D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D2C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D2C#FFFFFF#000000##000000
##238D2C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1F
Deuteranopia (green-blind)
#847735
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d2c;
/* rgb */ color: rgb(35, 141, 44);
/* oklch */ color: oklch(56.5% 0.164 144.1);
Tailwind
colors: {
  custom: {
    50: '#70af6a',
    500: '#238d2c',
    950: '#000000',
  },
}
SCSS
$custom: #238d2c;
$custom-light: #70af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#238d2c",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 125.094,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56454,
    "c": 0.16422,
    "h": 144.1
  },
  "luminance": 0.19589
}

Semantic roles & 50–950 ramp

primary
#238D2C
secondary
#B953B0
accent
#44D6E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #238D2C

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

Preview Lab → · Contrast checker → · Palette generator →

#238D2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva