#238023#238023

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

Color values

HEX#238023
RGBrgb(35, 128, 35)
HSLhsl(120, 57%, 32%)
HSVhsv(120, 73%, 50%)
CMYKcmyk(72.7%, 0%, 72.7%, 49.8%)
CIE-LABlab(46.86, -45.50, 40.80)
CIE-LCHlch(46.86, 61.11, 138.12°)
OKLaboklab(52.69% -0.1235 0.0931)
OKLCHoklch(52.69% 0.155 143)
XYZxyz(8.7152, 15.9161, 4.2026)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238023 #802380
analogous
#528023 #238023 #238052
triadic
#238023 #232380 #802323
tetradic
#238023 #235280 #802380 #805223
square
#238023 #235280 #802380 #805223
split-complementary
#238023 #522380 #802352
monochromatic
#092009 #165016 #238023 #30B030 #4FCF4F

Accessibility & contrast

On white

5.02
#238023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#238023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238023
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238023#FFFFFF#000000##FFFFFF
##2380231.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#057C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #238023;
/* rgb */ color: rgb(35, 128, 35);
/* oklch */ color: oklch(52.7% 0.155 143.0);
Tailwind
colors: {
  custom: {
    50: '#6da664',
    500: '#238023',
    950: '#000000',
  },
}
SCSS
$custom: #238023;
$custom-light: #6da664;
$custom-dark: #000000;
JSON
{
  "hex": "#238023",
  "rgb": {
    "r": 35,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 120,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.1547,
    "h": 143
  },
  "luminance": 0.15917
}

Semantic roles & 50–950 ramp

primary
#238023
secondary
#B24DB2
accent
#47E0E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #238023

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

Preview Lab → · Contrast checker → · Palette generator →

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