#238542#238542

#238542 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.135 H 149.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#238542
RGBrgb(35, 133, 66)
HSLhsl(139, 58%, 33%)
HSVhsv(139, 74%, 52%)
CMYKcmyk(73.7%, 0%, 50.4%, 47.8%)
CIE-LABlab(48.91, -43.26, 28.14)
CIE-LCHlch(48.91, 51.61, 146.96°)
OKLaboklab(54.5% -0.1164 0.0685)
OKLCHoklch(54.5% 0.135 149.5)
XYZxyz(10.0632, 17.5246, 8.0054)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238542 #852366
analogous
#358523 #238542 #238573
triadic
#238542 #422385 #854223
tetradic
#238542 #233585 #852366 #857323
square
#238542 #233585 #852366 #857323
split-complementary
#238542 #732385 #852335
monochromatic
#092412 #16552A #238542 #30B55A #51D17A

Accessibility & contrast

On white

4.66
#238542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #238542
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238542#FFFFFF#000000##FFFFFF
##2385421.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793D
Deuteranopia (green-blind)
#7A7147
Tritanopia (blue-blind)
#008275
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #238542;
/* rgb */ color: rgb(35, 133, 66);
/* oklch */ color: oklch(54.5% 0.135 149.5);
Tailwind
colors: {
  custom: {
    50: '#6da977',
    500: '#238542',
    950: '#000000',
  },
}
SCSS
$custom: #238542;
$custom-light: #6da977;
$custom-dark: #000000;
JSON
{
  "hex": "#238542",
  "rgb": {
    "r": 35,
    "g": 133,
    "b": 66
  },
  "hsl": {
    "h": 138.98,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.13506,
    "h": 149.5
  },
  "luminance": 0.17526
}

Semantic roles & 50–950 ramp

primary
#238542
secondary
#B54F95
accent
#46B0E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238542

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

Preview Lab → · Contrast checker → · Palette generator →

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