#238F2D#238F2D

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

Color values

HEX#238F2D
RGBrgb(35, 143, 45)
HSLhsl(126, 61%, 35%)
HSVhsv(126, 76%, 56%)
CMYKcmyk(75.5%, 0%, 68.5%, 43.9%)
CIE-LABlab(52.05, -49.75, 42.08)
CIE-LCHlch(52.05, 65.16, 139.78°)
OKLaboklab(57.02% -0.1346 0.0971)
OKLCHoklch(57.02% 0.166 144.2)
XYZxyz(10.9885, 20.1905, 5.8001)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F2D #8F2385
analogous
#4F8F23 #238F2D #238F63
triadic
#238F2D #2D238F #8F2D23
tetradic
#238F2D #234F8F #8F2385 #8F6323
square
#238F2D #234F8F #8F2385 #8F6323
split-complementary
#238F2D #63238F #8F234F
monochromatic
#0B2D0E #175E1E #238F2D #2FC03C #57D662

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238F2D#FFFFFF#000000##000000
##238F2D1.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)
#928120
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f2d;
/* rgb */ color: rgb(35, 143, 45);
/* oklch */ color: oklch(57.0% 0.166 144.2);
Tailwind
colors: {
  custom: {
    50: '#70b16b',
    500: '#238f2d',
    950: '#000000',
  },
}
SCSS
$custom: #238f2d;
$custom-light: #70b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#238f2d",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 125.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.16593,
    "h": 144.2
  },
  "luminance": 0.20192
}

Semantic roles & 50–950 ramp

primary
#238F2D
secondary
#BA54B0
accent
#44D5E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #238F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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