#238F52#238F52

#238F52 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.133 H 153.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#238F52
RGBrgb(35, 143, 82)
HSLhsl(146, 61%, 35%)
HSVhsv(146, 76%, 56%)
CMYKcmyk(75.5%, 0%, 42.7%, 43.9%)
CIE-LABlab(52.52, -44.25, 24.08)
CIE-LCHlch(52.52, 50.38, 151.44°)
OKLaboklab(57.56% -0.1192 0.0597)
OKLCHoklch(57.56% 0.133 153.4)
XYZxyz(12.0375, 20.6100, 11.3247)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F52 #8F2360
analogous
#2A8F23 #238F52 #238F88
triadic
#238F52 #52238F #8F5223
tetradic
#238F52 #232A8F #8F2360 #8F8823
square
#238F52 #232A8F #8F2360 #8F8823
split-complementary
#238F52 #88238F #8F232A
monochromatic
#0B2D1A #175E36 #238F52 #2FC06E #57D68E

Accessibility & contrast

On white

4.10
#238F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#238F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F52
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F52#FFFFFF#000000##000000
##238F521.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#827A56
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #238f52;
/* rgb */ color: rgb(35, 143, 82);
/* oklch */ color: oklch(57.6% 0.133 153.4);
Tailwind
colors: {
  custom: {
    50: '#6fb183',
    500: '#238f52',
    950: '#000000',
  },
}
SCSS
$custom: #238f52;
$custom-light: #6fb183;
$custom-dark: #000000;
JSON
{
  "hex": "#238f52",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 146.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57564,
    "c": 0.13332,
    "h": 153.4
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#238F52
secondary
#BA548E
accent
#449EE4
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #238F52

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

Preview Lab → · Contrast checker → · Palette generator →

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