#238227#238227

#238227 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.154 H 143.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#238227
RGBrgb(35, 130, 39)
HSLhsl(123, 58%, 32%)
HSVhsv(123, 73%, 51%)
CMYKcmyk(73.1%, 0%, 70%, 49%)
CIE-LABlab(47.58, -45.82, 39.86)
CIE-LCHlch(47.58, 60.73, 138.98°)
OKLaboklab(53.3% -0.1242 0.0917)
OKLCHoklch(53.3% 0.154 143.6)
XYZxyz(9.0414, 16.4681, 4.6212)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238227 #82237E
analogous
#4F8223 #238227 #238256
triadic
#238227 #272382 #822723
tetradic
#238227 #234F82 #82237E #825623
square
#238227 #234F82 #82237E #825623
split-complementary
#238227 #562382 #82234F
monochromatic
#09220A #165219 #238227 #30B235 #50D055

Accessibility & contrast

On white

4.89
#238227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#238227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238227
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238227#FFFFFF#000000##FFFFFF
##2382271.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85751A
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#017E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #238227;
/* rgb */ color: rgb(35, 130, 39);
/* oklch */ color: oklch(53.3% 0.154 143.6);
Tailwind
colors: {
  custom: {
    50: '#6da766',
    500: '#238227',
    950: '#000000',
  },
}
SCSS
$custom: #238227;
$custom-light: #6da766;
$custom-dark: #000000;
JSON
{
  "hex": "#238227",
  "rgb": {
    "r": 35,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 122.526,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.533,
    "c": 0.15436,
    "h": 143.6
  },
  "luminance": 0.16469
}

Semantic roles & 50–950 ramp

primary
#238227
secondary
#B34DAF
accent
#47DAE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238227

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

Preview Lab → · Contrast checker → · Palette generator →

#238227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva