#238A2B#238A2B

#238A2B is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.161 H 144.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#238A2B
RGBrgb(35, 138, 43)
HSLhsl(125, 60%, 34%)
HSVhsv(125, 75%, 54%)
CMYKcmyk(74.6%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.34, -48.22, 41.10)
CIE-LCHlch(50.34, 63.36, 139.56°)
OKLaboklab(55.6% -0.1305 0.0948)
OKLCHoklch(55.6% 0.161 144)
XYZxyz(10.2170, 18.7075, 5.3575)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238A2B #8A2382
analogous
#4F8A23 #238A2B #238A5F
triadic
#238A2B #2B238A #8A2B23
tetradic
#238A2B #234F8A #8A2382 #8A5F23
square
#238A2B #234F8A #8A2382 #8A5F23
split-complementary
#238A2B #5F238A #8A234F
monochromatic
#0A280D #17591C #238A2B #2FBB3A #54D45E

Accessibility & contrast

On white

4.43
#238A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#238A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##238A2B#FFFFFF#000000##000000
##238A2B1.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)
#8D7D1E
Deuteranopia (green-blind)
#817534
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238a2b;
/* rgb */ color: rgb(35, 138, 43);
/* oklch */ color: oklch(55.6% 0.161 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fad69',
    500: '#238a2b',
    950: '#000000',
  },
}
SCSS
$custom: #238a2b;
$custom-light: #6fad69;
$custom-dark: #000000;
JSON
{
  "hex": "#238a2b",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 124.66,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55601,
    "c": 0.16129,
    "h": 144
  },
  "luminance": 0.18709
}

Semantic roles & 50–950 ramp

primary
#238A2B
secondary
#B751B0
accent
#45D6E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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