#238A4F#238A4F

#238A4F is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.129 H 153.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#238A4F
RGBrgb(35, 138, 79)
HSLhsl(146, 60%, 34%)
HSVhsv(146, 75%, 54%)
CMYKcmyk(74.6%, 0%, 42.8%, 45.9%)
CIE-LABlab(50.80, -42.86, 23.48)
CIE-LCHlch(50.80, 48.88, 151.28°)
OKLaboklab(56.13% -0.1155 0.0582)
OKLCHoklch(56.13% 0.129 153.2)
XYZxyz(11.1919, 19.0975, 10.4920)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238A4F #8A235E
analogous
#2B8A23 #238A4F #238A83
triadic
#238A4F #4F238A #8A4F23
tetradic
#238A4F #232B8A #8A235E #8A8323
square
#238A4F #232B8A #8A235E #8A8323
split-complementary
#238A4F #83238A #8A232B
monochromatic
#0A2817 #175933 #238A4F #2FBB6B #54D48A

Accessibility & contrast

On white

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

On black

4.82
#238A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238A4F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238A4F#FFFFFF#000000##000000
##238A4F1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E4B
Deuteranopia (green-blind)
#7E7553
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238a4f;
/* rgb */ color: rgb(35, 138, 79);
/* oklch */ color: oklch(56.1% 0.129 153.2);
Tailwind
colors: {
  custom: {
    50: '#6ead81',
    500: '#238a4f',
    950: '#000000',
  },
}
SCSS
$custom: #238a4f;
$custom-light: #6ead81;
$custom-dark: #000000;
JSON
{
  "hex": "#238a4f",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 145.631,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.12934,
    "h": 153.2
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

primary
#238A4F
secondary
#B7518C
accent
#459FE3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #238A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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