#238730#238730

#238730 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.154 H 145.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#238730
RGBrgb(35, 135, 48)
HSLhsl(128, 59%, 33%)
HSVhsv(128, 74%, 53%)
CMYKcmyk(74.1%, 0%, 64.4%, 47.1%)
CIE-LABlab(49.37, -46.60, 37.77)
CIE-LCHlch(49.37, 59.98, 140.98°)
OKLaboklab(54.81% -0.1259 0.0883)
OKLCHoklch(54.81% 0.154 145)
XYZxyz(9.8899, 17.8976, 5.7291)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238730 #87237A
analogous
#488723 #238730 #238762
triadic
#238730 #302387 #873023
tetradic
#238730 #234887 #87237A #876223
square
#238730 #234887 #87237A #876223
split-complementary
#238730 #622387 #872348
monochromatic
#0A260D #16561F #238730 #30B841 #52D263

Accessibility & contrast

On white

4.59
#238730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#238730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #238730
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238730#FFFFFF#000000##FFFFFF
##2387301.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A26
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #238730;
/* rgb */ color: rgb(35, 135, 48);
/* oklch */ color: oklch(54.8% 0.154 145.0);
Tailwind
colors: {
  custom: {
    50: '#6eab6c',
    500: '#238730',
    950: '#000000',
  },
}
SCSS
$custom: #238730;
$custom-light: #6eab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#238730",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 127.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.15374,
    "h": 145
  },
  "luminance": 0.17899
}

Semantic roles & 50–950 ramp

primary
#238730
secondary
#B650A9
accent
#46CEE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238730

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

Preview Lab → · Contrast checker → · Palette generator →

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