#238C4F#238C4F

#238C4F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.132 H 152.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#238C4F
RGBrgb(35, 140, 79)
HSLhsl(145, 60%, 34%)
HSVhsv(145, 75%, 55%)
CMYKcmyk(75%, 0%, 43.6%, 45.1%)
CIE-LABlab(51.47, -43.65, 24.36)
CIE-LCHlch(51.47, 49.99, 150.84°)
OKLaboklab(56.68% -0.1176 0.0603)
OKLCHoklch(56.68% 0.132 152.9)
XYZxyz(11.4815, 19.6767, 10.5885)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C4F #8C2360
analogous
#2C8C23 #238C4F #238C84
triadic
#238C4F #4F238C #8C4F23
tetradic
#238C4F #232C8C #8C2360 #8C8423
square
#238C4F #232C8C #8C2360 #8C8423
split-complementary
#238C4F #84238C #8C232C
monochromatic
#0B2A18 #175B33 #238C4F #2FBD6B #55D48A

Accessibility & contrast

On white

4.25
#238C4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#238C4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C4F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C4F#FFFFFF#000000##000000
##238C4F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804B
Deuteranopia (green-blind)
#807753
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238c4f;
/* rgb */ color: rgb(35, 140, 79);
/* oklch */ color: oklch(56.7% 0.132 152.9);
Tailwind
colors: {
  custom: {
    50: '#6eae81',
    500: '#238c4f',
    950: '#000000',
  },
}
SCSS
$custom: #238c4f;
$custom-light: #6eae81;
$custom-dark: #000000;
JSON
{
  "hex": "#238c4f",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 79
  },
  "hsl": {
    "h": 145.143,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.1321,
    "h": 152.9
  },
  "luminance": 0.19678
}

Semantic roles & 50–950 ramp

primary
#238C4F
secondary
#B8528E
accent
#45A1E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #238C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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