#238F51#238F51

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

Color values

HEX#238F51
RGBrgb(35, 143, 81)
HSLhsl(146, 61%, 35%)
HSVhsv(146, 76%, 56%)
CMYKcmyk(75.5%, 0%, 43.4%, 43.9%)
CIE-LABlab(52.50, -44.44, 24.61)
CIE-LCHlch(52.50, 50.80, 151.03°)
OKLaboklab(57.55% -0.1197 0.0609)
OKLCHoklch(57.55% 0.134 153)
XYZxyz(11.9997, 20.5949, 11.1258)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F51 #8F2361
analogous
#2B8F23 #238F51 #238F87
triadic
#238F51 #51238F #8F5123
tetradic
#238F51 #232B8F #8F2361 #8F8723
square
#238F51 #232B8F #8F2361 #8F8723
split-complementary
#238F51 #87238F #8F232B
monochromatic
#0B2D19 #175E35 #238F51 #2FC06D #57D68D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238F51#FFFFFF#000000##000000
##238F511.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)
#8F834D
Deuteranopia (green-blind)
#827A55
Tritanopia (blue-blind)
#008D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #238f51;
/* rgb */ color: rgb(35, 143, 81);
/* oklch */ color: oklch(57.5% 0.134 153.0);
Tailwind
colors: {
  custom: {
    50: '#6fb182',
    500: '#238f51',
    950: '#000000',
  },
}
SCSS
$custom: #238f51;
$custom-light: #6fb182;
$custom-dark: #000000;
JSON
{
  "hex": "#238f51",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 81
  },
  "hsl": {
    "h": 145.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.13429,
    "h": 153
  },
  "luminance": 0.20596
}

Semantic roles & 50–950 ramp

primary
#238F51
secondary
#BA548E
accent
#44A0E4
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #238F51

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

Preview Lab → · Contrast checker → · Palette generator →

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