#238C2A#238C2A

#238C2A is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.164 H 143.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#238C2A
RGBrgb(35, 140, 42)
HSLhsl(124, 60%, 34%)
HSVhsv(124, 75%, 55%)
CMYKcmyk(75%, 0%, 70%, 45.1%)
CIE-LABlab(51.01, -49.02, 42.25)
CIE-LCHlch(51.01, 64.71, 139.25°)
OKLaboklab(56.15% -0.1327 0.0971)
OKLCHoklch(56.15% 0.164 143.8)
XYZxyz(10.4885, 19.2795, 5.3586)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C2A #8C2385
analogous
#518C23 #238C2A #238C5F
triadic
#238C2A #2A238C #8C2A23
tetradic
#238C2A #23518C #8C2385 #8C5F23
square
#238C2A #23518C #8C2385 #8C5F23
split-complementary
#238C2A #5F238C #8C2351
monochromatic
#0B2A0D #175B1B #238C2A #2FBD39 #55D45D

Accessibility & contrast

On white

4.32
#238C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#238C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C2A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C2A#FFFFFF#000000##000000
##238C2A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1C
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238c2a;
/* rgb */ color: rgb(35, 140, 42);
/* oklch */ color: oklch(56.2% 0.164 143.8);
Tailwind
colors: {
  custom: {
    50: '#70af69',
    500: '#238c2a',
    950: '#000000',
  },
}
SCSS
$custom: #238c2a;
$custom-light: #70af69;
$custom-dark: #000000;
JSON
{
  "hex": "#238c2a",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 124,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56154,
    "c": 0.16444,
    "h": 143.8
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#238C2A
secondary
#B852B2
accent
#45D9E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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