#238548#238548

#238548 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.129 H 151.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#238548
RGBrgb(35, 133, 72)
HSLhsl(143, 58%, 33%)
HSVhsv(143, 74%, 52%)
CMYKcmyk(73.7%, 0%, 45.9%, 47.8%)
CIE-LABlab(49.01, -42.21, 25.00)
CIE-LCHlch(49.01, 49.06, 149.36°)
OKLaboklab(54.61% -0.1136 0.0615)
OKLCHoklch(54.61% 0.129 151.6)
XYZxyz(10.2495, 17.5991, 8.9864)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238548 #852360
analogous
#2F8523 #238548 #238579
triadic
#238548 #482385 #854823
tetradic
#238548 #232F85 #852360 #857923
square
#238548 #232F85 #852360 #857923
split-complementary
#238548 #792385 #85232F
monochromatic
#092414 #16552E #238548 #30B562 #51D182

Accessibility & contrast

On white

4.65
#238548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#238548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #238548
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238548#FFFFFF#000000##FFFFFF
##2385481.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857943
Deuteranopia (green-blind)
#7A714C
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #238548;
/* rgb */ color: rgb(35, 133, 72);
/* oklch */ color: oklch(54.6% 0.129 151.6);
Tailwind
colors: {
  custom: {
    50: '#6da97c',
    500: '#238548',
    950: '#000000',
  },
}
SCSS
$custom: #238548;
$custom-light: #6da97c;
$custom-dark: #000000;
JSON
{
  "hex": "#238548",
  "rgb": {
    "r": 35,
    "g": 133,
    "b": 72
  },
  "hsl": {
    "h": 142.653,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54609,
    "c": 0.12924,
    "h": 151.6
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#238548
secondary
#B54F8E
accent
#46A7E2
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238548

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

Preview Lab → · Contrast checker → · Palette generator →

#238548 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva