#238D1B#238D1B

#238D1B is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.175 H 142.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#238D1B
RGBrgb(35, 141, 27)
HSLhsl(116, 68%, 33%)
HSVhsv(116, 81%, 55%)
CMYKcmyk(75.2%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.25, -50.60, 48.11)
CIE-LCHlch(51.25, 69.83, 136.45°)
OKLaboklab(56.32% -0.1377 0.1073)
OKLCHoklch(56.32% 0.175 142.1)
XYZxyz(10.4152, 19.4850, 4.2488)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D1B #851B8D
analogous
#5C8D1B #238D1B #1B8D4C
triadic
#238D1B #1B238D #8D1B23
tetradic
#238D1B #1B5C8D #851B8D #8D4C1B
square
#238D1B #1B5C8D #851B8D #8D4C1B
split-complementary
#238D1B #4C1B8D #8D1B5C
monochromatic
#0A2607 #165A11 #238D1B #30C025 #51DC47

Accessibility & contrast

On white

4.29
#238D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#238D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D1B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D1B#FFFFFF#000000##000000
##238D1B1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d1b;
/* rgb */ color: rgb(35, 141, 27);
/* oklch */ color: oklch(56.3% 0.175 142.1);
Tailwind
colors: {
  custom: {
    50: '#71af61',
    500: '#238d1b',
    950: '#000000',
  },
}
SCSS
$custom: #238d1b;
$custom-light: #71af61;
$custom-dark: #000000;
JSON
{
  "hex": "#238d1b",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 115.789,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56318,
    "c": 0.1746,
    "h": 142.1
  },
  "luminance": 0.19486
}

Semantic roles & 50–950 ramp

primary
#238D1B
secondary
#B546BD
accent
#3DEBDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #238D1B

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

Preview Lab → · Contrast checker → · Palette generator →

#238D1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva