#238B4F#238B4F

#238B4F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.131 H 153.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#238B4F
RGBrgb(35, 139, 79)
HSLhsl(145, 60%, 34%)
HSVhsv(145, 75%, 55%)
CMYKcmyk(74.8%, 0%, 43.2%, 45.5%)
CIE-LABlab(51.14, -43.26, 23.92)
CIE-LCHlch(51.14, 49.43, 151.06°)
OKLaboklab(56.41% -0.1165 0.0593)
OKLCHoklch(56.41% 0.131 153)
XYZxyz(11.3360, 19.3858, 10.5400)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B4F #8B235F
analogous
#2B8B23 #238B4F #238B83
triadic
#238B4F #4F238B #8B4F23
tetradic
#238B4F #232B8B #8B235F #8B8323
square
#238B4F #232B8B #8B235F #8B8323
split-complementary
#238B4F #83238B #8B232B
monochromatic
#0A2917 #175A33 #238B4F #2FBC6B #54D48A

Accessibility & contrast

On white

4.31
#238B4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#238B4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B4F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B4F#FFFFFF#000000##000000
##238B4F1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4B
Deuteranopia (green-blind)
#7F7653
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238b4f;
/* rgb */ color: rgb(35, 139, 79);
/* oklch */ color: oklch(56.4% 0.131 153.0);
Tailwind
colors: {
  custom: {
    50: '#6eae81',
    500: '#238b4f',
    950: '#000000',
  },
}
SCSS
$custom: #238b4f;
$custom-light: #6eae81;
$custom-dark: #000000;
JSON
{
  "hex": "#238b4f",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 79
  },
  "hsl": {
    "h": 145.385,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56405,
    "c": 0.13073,
    "h": 153
  },
  "luminance": 0.19387
}

Semantic roles & 50–950 ramp

primary
#238B4F
secondary
#B8528D
accent
#45A0E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #238B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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