#238F25#238F25

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

Color values

HEX#238F25
RGBrgb(35, 143, 37)
HSLhsl(121, 61%, 35%)
HSVhsv(121, 76%, 56%)
CMYKcmyk(75.5%, 0%, 74.1%, 43.9%)
CIE-LABlab(51.99, -50.52, 45.30)
CIE-LCHlch(51.99, 67.85, 138.12°)
OKLaboklab(56.95% -0.137 0.1028)
OKLCHoklch(56.95% 0.171 143.1)
XYZxyz(10.8488, 20.1346, 5.0645)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F25 #8F238D
analogous
#578F23 #238F25 #238F5B
triadic
#238F25 #25238F #8F2523
tetradic
#238F25 #23578F #8F238D #8F5B23
square
#238F25 #23578F #8F238D #8F5B23
split-complementary
#238F25 #5B238F #8F2357
monochromatic
#0B2D0C #175E18 #238F25 #2FC032 #57D659

Accessibility & contrast

On white

4.18
#238F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##238F25#FFFFFF#000000##000000
##238F251.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928112
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f25;
/* rgb */ color: rgb(35, 143, 37);
/* oklch */ color: oklch(57.0% 0.171 143.1);
Tailwind
colors: {
  custom: {
    50: '#71b166',
    500: '#238f25',
    950: '#000000',
  },
}
SCSS
$custom: #238f25;
$custom-light: #71b166;
$custom-dark: #000000;
JSON
{
  "hex": "#238f25",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 121.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.17131,
    "h": 143.1
  },
  "luminance": 0.20136
}

Semantic roles & 50–950 ramp

primary
#238F25
secondary
#BA54B8
accent
#44E1E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238F25

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

Preview Lab → · Contrast checker → · Palette generator →

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