#238545#238545

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

Color values

HEX#238545
RGBrgb(35, 133, 69)
HSLhsl(141, 58%, 33%)
HSVhsv(141, 74%, 52%)
CMYKcmyk(73.7%, 0%, 48.1%, 47.8%)
CIE-LABlab(48.96, -42.75, 26.58)
CIE-LCHlch(48.96, 50.34, 148.13°)
OKLaboklab(54.56% -0.115 0.065)
OKLCHoklch(54.56% 0.132 150.5)
XYZxyz(10.1540, 17.5609, 8.4835)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238545 #852363
analogous
#328523 #238545 #238576
triadic
#238545 #452385 #854523
tetradic
#238545 #233285 #852363 #857623
square
#238545 #233285 #852363 #857623
split-complementary
#238545 #762385 #852332
monochromatic
#092413 #16552C #238545 #30B55E #51D17E

Accessibility & contrast

On white

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

On black

4.51
#238545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##238545#FFFFFF#000000##FFFFFF
##2385451.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #238545;
/* rgb */ color: rgb(35, 133, 69);
/* oklch */ color: oklch(54.6% 0.132 150.5);
Tailwind
colors: {
  custom: {
    50: '#6da97a',
    500: '#238545',
    950: '#000000',
  },
}
SCSS
$custom: #238545;
$custom-light: #6da97a;
$custom-dark: #000000;
JSON
{
  "hex": "#238545",
  "rgb": {
    "r": 35,
    "g": 133,
    "b": 69
  },
  "hsl": {
    "h": 140.816,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.13216,
    "h": 150.5
  },
  "luminance": 0.17562
}

Semantic roles & 50–950 ramp

primary
#238545
secondary
#B54F92
accent
#46ACE2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238545

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

Preview Lab → · Contrast checker → · Palette generator →

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