#238531#238531

#238531 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.150 H 145.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#238531
RGBrgb(35, 133, 49)
HSLhsl(129, 58%, 33%)
HSVhsv(129, 74%, 52%)
CMYKcmyk(73.7%, 0%, 63.2%, 47.8%)
CIE-LABlab(48.70, -45.76, 36.53)
CIE-LCHlch(48.70, 58.55, 141.40°)
OKLaboklab(54.26% -0.1236 0.0857)
OKLCHoklch(54.26% 0.15 145.3)
XYZxyz(9.6344, 17.3531, 5.7469)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238531 #852377
analogous
#468523 #238531 #238562
triadic
#238531 #312385 #853123
tetradic
#238531 #234685 #852377 #856223
square
#238531 #234685 #852377 #856223
split-complementary
#238531 #622385 #852346
monochromatic
#09240D #16551F #238531 #30B543 #51D163

Accessibility & contrast

On white

4.70
#238531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#238531 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238531
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238531#FFFFFF#000000##FFFFFF
##2385311.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#7C7138
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #238531;
/* rgb */ color: rgb(35, 133, 49);
/* oklch */ color: oklch(54.3% 0.150 145.3);
Tailwind
colors: {
  custom: {
    50: '#6da96c',
    500: '#238531',
    950: '#000000',
  },
}
SCSS
$custom: #238531;
$custom-light: #6da96c;
$custom-dark: #000000;
JSON
{
  "hex": "#238531",
  "rgb": {
    "r": 35,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 128.571,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.15038,
    "h": 145.3
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#238531
secondary
#B54FA6
accent
#46CBE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238531

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

Preview Lab → · Contrast checker → · Palette generator →

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