#238F2B#238F2B

#238F2B is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.167 H 143.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#238F2B
RGBrgb(35, 143, 43)
HSLhsl(124, 61%, 35%)
HSVhsv(124, 76%, 56%)
CMYKcmyk(75.5%, 0%, 69.9%, 43.9%)
CIE-LABlab(52.03, -49.95, 42.92)
CIE-LCHlch(52.03, 65.86, 139.33°)
OKLaboklab(57.01% -0.1352 0.0986)
OKLCHoklch(57.01% 0.167 143.9)
XYZxyz(10.9509, 20.1754, 5.6021)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F2B #8F2387
analogous
#518F23 #238F2B #238F61
triadic
#238F2B #2B238F #8F2B23
tetradic
#238F2B #23518F #8F2387 #8F6123
square
#238F2B #23518F #8F2387 #8F6123
split-complementary
#238F2B #61238F #8F2351
monochromatic
#0B2D0D #175E1C #238F2B #2FC03A #57D660

Accessibility & contrast

On white

4.17
#238F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#238F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F2B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F2B#FFFFFF#000000##000000
##238F2B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f2b;
/* rgb */ color: rgb(35, 143, 43);
/* oklch */ color: oklch(57.0% 0.167 143.9);
Tailwind
colors: {
  custom: {
    50: '#70b16a',
    500: '#238f2b',
    950: '#000000',
  },
}
SCSS
$custom: #238f2b;
$custom-light: #70b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#238f2b",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 124.444,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57005,
    "c": 0.16735,
    "h": 143.9
  },
  "luminance": 0.20177
}

Semantic roles & 50–950 ramp

primary
#238F2B
secondary
#BA54B2
accent
#44D8E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #238F2B

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

Preview Lab → · Contrast checker → · Palette generator →

#238F2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva