#238121#238121

#238121 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.157 H 142.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#238121
RGBrgb(35, 129, 33)
HSLhsl(119, 59%, 32%)
HSVhsv(119, 74%, 51%)
CMYKcmyk(72.9%, 0%, 74.4%, 49.4%)
CIE-LABlab(47.19, -46.04, 41.95)
CIE-LCHlch(47.19, 62.28, 137.66°)
OKLaboklab(52.96% -0.1251 0.0953)
OKLCHoklch(52.96% 0.157 142.7)
XYZxyz(8.8174, 16.1667, 4.0943)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238121 #7F2181
analogous
#538121 #238121 #21814F
triadic
#238121 #212381 #812123
tetradic
#238121 #215381 #7F2181 #814F21
square
#238121 #215381 #7F2181 #814F21
split-complementary
#238121 #4F2181 #812153
monochromatic
#092008 #165015 #238121 #30B22D #4ED14B

Accessibility & contrast

On white

4.96
#238121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#238121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238121
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238121#FFFFFF#000000##FFFFFF
##2381211.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847410
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#057D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #238121;
/* rgb */ color: rgb(35, 129, 33);
/* oklch */ color: oklch(53.0% 0.157 142.7);
Tailwind
colors: {
  custom: {
    50: '#6da763',
    500: '#238121',
    950: '#000000',
  },
}
SCSS
$custom: #238121;
$custom-light: #6da763;
$custom-dark: #000000;
JSON
{
  "hex": "#238121",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 118.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52962,
    "c": 0.15724,
    "h": 142.7
  },
  "luminance": 0.16168
}

Semantic roles & 50–950 ramp

primary
#238121
secondary
#B14AB4
accent
#45E2DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #238121

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

Preview Lab → · Contrast checker → · Palette generator →

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