#238B34#238B34

#238B34 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.156 H 145.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#238B34
RGBrgb(35, 139, 52)
HSLhsl(130, 60%, 34%)
HSVhsv(130, 75%, 55%)
CMYKcmyk(74.8%, 0%, 62.6%, 45.5%)
CIE-LABlab(50.77, -47.54, 37.46)
CIE-LCHlch(50.77, 60.53, 141.76°)
OKLaboklab(55.98% -0.1283 0.088)
OKLCHoklch(55.98% 0.156 145.6)
XYZxyz(10.5449, 19.0693, 6.3732)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B34 #8B237A
analogous
#468B23 #238B34 #238B68
triadic
#238B34 #34238B #8B3423
tetradic
#238B34 #23468B #8B237A #8B6823
square
#238B34 #23468B #8B237A #8B6823
split-complementary
#238B34 #68238B #8B2346
monochromatic
#0A290F #175A22 #238B34 #2FBC46 #54D469

Accessibility & contrast

On white

4.36
#238B34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#238B34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B34
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B34#FFFFFF#000000##000000
##238B341.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2A
Deuteranopia (green-blind)
#81763B
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238b34;
/* rgb */ color: rgb(35, 139, 52);
/* oklch */ color: oklch(56.0% 0.156 145.6);
Tailwind
colors: {
  custom: {
    50: '#6fae6f',
    500: '#238b34',
    950: '#000000',
  },
}
SCSS
$custom: #238b34;
$custom-light: #6fae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#238b34",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 52
  },
  "hsl": {
    "h": 129.808,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55981,
    "c": 0.15555,
    "h": 145.6
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

primary
#238B34
secondary
#B852A7
accent
#45C9E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238B34

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

Preview Lab → · Contrast checker → · Palette generator →

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