#238B2C#238B2C

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

Color values

HEX#238B2C
RGBrgb(35, 139, 44)
HSLhsl(125, 60%, 34%)
HSVhsv(125, 75%, 55%)
CMYKcmyk(74.8%, 0%, 68.3%, 45.5%)
CIE-LABlab(50.69, -48.47, 41.04)
CIE-LCHlch(50.69, 63.51, 139.75°)
OKLaboklab(55.89% -0.1311 0.0948)
OKLCHoklch(55.89% 0.162 144.1)
XYZxyz(10.3797, 19.0032, 5.5033)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B2C #8B2382
analogous
#4E8B23 #238B2C #238B60
triadic
#238B2C #2C238B #8B2C23
tetradic
#238B2C #234E8B #8B2382 #8B6023
square
#238B2C #234E8B #8B2382 #8B6023
split-complementary
#238B2C #60238B #8B234E
monochromatic
#0A290D #175A1D #238B2C #2FBC3B #54D45F

Accessibility & contrast

On white

4.37
#238B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##238B2C#FFFFFF#000000##000000
##238B2C1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#827635
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238b2c;
/* rgb */ color: rgb(35, 139, 44);
/* oklch */ color: oklch(55.9% 0.162 144.1);
Tailwind
colors: {
  custom: {
    50: '#6fae6a',
    500: '#238b2c',
    950: '#000000',
  },
}
SCSS
$custom: #238b2c;
$custom-light: #6fae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#238b2c",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 125.192,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55892,
    "c": 0.16179,
    "h": 144.1
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#238B2C
secondary
#B852AF
accent
#45D5E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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