#238538#238538

#238538 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.144 H 146.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#238538
RGBrgb(35, 133, 56)
HSLhsl(133, 58%, 33%)
HSVhsv(133, 74%, 52%)
CMYKcmyk(73.7%, 0%, 57.9%, 47.8%)
CIE-LABlab(48.78, -44.82, 33.18)
CIE-LCHlch(48.78, 55.77, 143.49°)
OKLaboklab(54.35% -0.1208 0.0791)
OKLCHoklch(54.35% 0.144 146.8)
XYZxyz(9.7938, 17.4168, 6.5862)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238538 #852370
analogous
#3F8523 #238538 #238569
triadic
#238538 #382385 #853823
tetradic
#238538 #233F85 #852370 #856923
square
#238538 #233F85 #852370 #856923
split-complementary
#238538 #692385 #85233F
monochromatic
#09240F #165524 #238538 #30B54C #51D16D

Accessibility & contrast

On white

4.68
#238538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#238538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238538
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238538#FFFFFF#000000##FFFFFF
##2385381.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877931
Deuteranopia (green-blind)
#7B713E
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #238538;
/* rgb */ color: rgb(35, 133, 56);
/* oklch */ color: oklch(54.4% 0.144 146.8);
Tailwind
colors: {
  custom: {
    50: '#6da971',
    500: '#238538',
    950: '#000000',
  },
}
SCSS
$custom: #238538;
$custom-light: #6da971;
$custom-dark: #000000;
JSON
{
  "hex": "#238538",
  "rgb": {
    "r": 35,
    "g": 133,
    "b": 56
  },
  "hsl": {
    "h": 132.857,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.14435,
    "h": 146.8
  },
  "luminance": 0.17418
}

Semantic roles & 50–950 ramp

primary
#238538
secondary
#B54F9F
accent
#46C0E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #238538

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

Preview Lab → · Contrast checker → · Palette generator →

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