#238B2A#238B2A

#238B2A is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.163 H 143.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#238B2A
RGBrgb(35, 139, 42)
HSLhsl(124, 60%, 34%)
HSVhsv(124, 75%, 55%)
CMYKcmyk(74.8%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.67, -48.68, 41.88)
CIE-LCHlch(50.67, 64.22, 139.29°)
OKLaboklab(55.87% -0.1318 0.0963)
OKLCHoklch(55.87% 0.163 143.8)
XYZxyz(10.3430, 18.9886, 5.3101)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B2A #8B2384
analogous
#508B23 #238B2A #238B5E
triadic
#238B2A #2A238B #8B2A23
tetradic
#238B2A #23508B #8B2384 #8B5E23
square
#238B2A #23508B #8B2384 #8B5E23
split-complementary
#238B2A #5E238B #8B2350
monochromatic
#0A290C #175A1B #238B2A #2FBC39 #54D45D

Accessibility & contrast

On white

4.38
#238B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#238B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B2A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B2A#FFFFFF#000000##000000
##238B2A1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#827533
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238b2a;
/* rgb */ color: rgb(35, 139, 42);
/* oklch */ color: oklch(55.9% 0.163 143.8);
Tailwind
colors: {
  custom: {
    50: '#6fae69',
    500: '#238b2a',
    950: '#000000',
  },
}
SCSS
$custom: #238b2a;
$custom-light: #6fae69;
$custom-dark: #000000;
JSON
{
  "hex": "#238b2a",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 124.038,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55873,
    "c": 0.16323,
    "h": 143.8
  },
  "luminance": 0.1899
}

Semantic roles & 50–950 ramp

primary
#238B2A
secondary
#B852B1
accent
#45D8E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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