#238522#238522

#238522 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.161 H 142.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#238522
RGBrgb(35, 133, 34)
HSLhsl(119, 59%, 33%)
HSVhsv(119, 74%, 52%)
CMYKcmyk(73.7%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.57, -47.35, 42.96)
CIE-LCHlch(48.57, 63.94, 137.78°)
OKLaboklab(54.11% -0.1286 0.0975)
OKLCHoklch(54.11% 0.161 142.8)
XYZxyz(9.3688, 17.2468, 4.3483)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238522 #842285
analogous
#548522 #238522 #228552
triadic
#238522 #222385 #852223
tetradic
#238522 #225485 #842285 #855222
square
#238522 #225485 #842285 #855222
split-complementary
#238522 #522285 #852254
monochromatic
#092409 #165416 #238522 #30B62E #51D24F

Accessibility & contrast

On white

4.72
#238522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#238522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238522
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238522#FFFFFF#000000##FFFFFF
##2385221.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#7D702C
Tritanopia (blue-blind)
#018172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #238522;
/* rgb */ color: rgb(35, 133, 34);
/* oklch */ color: oklch(54.1% 0.161 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ea964',
    500: '#238522',
    950: '#000000',
  },
}
SCSS
$custom: #238522;
$custom-light: #6ea964;
$custom-dark: #000000;
JSON
{
  "hex": "#238522",
  "rgb": {
    "r": 35,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 119.394,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54107,
    "c": 0.1614,
    "h": 142.8
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#238522
secondary
#B44DB6
accent
#45E2E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238522

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

Preview Lab → · Contrast checker → · Palette generator →

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