#238028#238028

#238028 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.151 H 143.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#238028
RGBrgb(35, 128, 40)
HSLhsl(123, 57%, 32%)
HSVhsv(123, 73%, 50%)
CMYKcmyk(72.7%, 0%, 68.8%, 49.8%)
CIE-LABlab(46.91, -45.00, 38.69)
CIE-LCHlch(46.91, 59.34, 139.31°)
OKLaboklab(52.74% -0.1219 0.0893)
OKLCHoklch(52.74% 0.151 143.8)
XYZxyz(8.7948, 15.9479, 4.6218)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238028 #80237B
analogous
#4D8023 #238028 #238057
triadic
#238028 #282380 #802823
tetradic
#238028 #234D80 #80237B #805723
square
#238028 #234D80 #80237B #805723
split-complementary
#238028 #572380 #80234D
monochromatic
#09200A #165019 #238028 #30B037 #4FCF56

Accessibility & contrast

On white

5.01
#238028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#238028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238028
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238028#FFFFFF#000000##FFFFFF
##2380281.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#786C30
Tritanopia (blue-blind)
#027C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #238028;
/* rgb */ color: rgb(35, 128, 40);
/* oklch */ color: oklch(52.7% 0.151 143.8);
Tailwind
colors: {
  custom: {
    50: '#6da666',
    500: '#238028',
    950: '#000000',
  },
}
SCSS
$custom: #238028;
$custom-light: #6da666;
$custom-dark: #000000;
JSON
{
  "hex": "#238028",
  "rgb": {
    "r": 35,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 123.226,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.15114,
    "h": 143.8
  },
  "luminance": 0.15949
}

Semantic roles & 50–950 ramp

primary
#238028
secondary
#B24DAD
accent
#47D8E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #238028

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

Preview Lab → · Contrast checker → · Palette generator →

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