#238B2B#238B2B

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

Color values

HEX#238B2B
RGBrgb(35, 139, 43)
HSLhsl(125, 60%, 34%)
HSVhsv(125, 75%, 55%)
CMYKcmyk(74.8%, 0%, 69.1%, 45.5%)
CIE-LABlab(50.68, -48.57, 41.46)
CIE-LCHlch(50.68, 63.86, 139.51°)
OKLaboklab(55.88% -0.1315 0.0955)
OKLCHoklch(55.88% 0.163 144)
XYZxyz(10.3611, 18.9958, 5.4055)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B2B #8B2383
analogous
#4F8B23 #238B2B #238B5F
triadic
#238B2B #2B238B #8B2B23
tetradic
#238B2B #234F8B #8B2383 #8B5F23
square
#238B2B #234F8B #8B2383 #8B5F23
split-complementary
#238B2B #5F238B #8B234F
monochromatic
#0A290D #175A1C #238B2B #2FBC3A #54D45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238B2B#FFFFFF#000000##000000
##238B2B1.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)
#8E7E1E
Deuteranopia (green-blind)
#827534
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238b2b;
/* rgb */ color: rgb(35, 139, 43);
/* oklch */ color: oklch(55.9% 0.163 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fae69',
    500: '#238b2b',
    950: '#000000',
  },
}
SCSS
$custom: #238b2b;
$custom-light: #6fae69;
$custom-dark: #000000;
JSON
{
  "hex": "#238b2b",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 124.615,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55882,
    "c": 0.16252,
    "h": 144
  },
  "luminance": 0.18997
}

Semantic roles & 50–950 ramp

primary
#238B2B
secondary
#B852B0
accent
#45D7E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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