#238F2A#238F2A

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

Color values

HEX#238F2A
RGBrgb(35, 143, 42)
HSLhsl(124, 61%, 35%)
HSVhsv(124, 76%, 56%)
CMYKcmyk(75.5%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.03, -50.05, 43.33)
CIE-LCHlch(52.03, 66.20, 139.12°)
OKLaboklab(57% -0.1355 0.0993)
OKLCHoklch(57% 0.168 143.8)
XYZxyz(10.9328, 20.1682, 5.5067)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F2A #8F2388
analogous
#528F23 #238F2A #238F60
triadic
#238F2A #2A238F #8F2A23
tetradic
#238F2A #23528F #8F2388 #8F6023
square
#238F2A #23528F #8F2388 #8F6023
split-complementary
#238F2A #60238F #8F2352
monochromatic
#0B2D0D #175E1C #238F2A #2FC038 #57D65F

Accessibility & contrast

On white

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

On black

5.03
#238F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F2A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F2A#FFFFFF#000000##000000
##238F2A1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #238f2a;
/* rgb */ color: rgb(35, 143, 42);
/* oklch */ color: oklch(57.0% 0.168 143.8);
Tailwind
colors: {
  custom: {
    50: '#70b169',
    500: '#238f2a',
    950: '#000000',
  },
}
SCSS
$custom: #238f2a;
$custom-light: #70b169;
$custom-dark: #000000;
JSON
{
  "hex": "#238f2a",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 123.889,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56996,
    "c": 0.16804,
    "h": 143.8
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#238F2A
secondary
#BA54B3
accent
#44D9E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #238F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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