#238C1B#238C1B

#238C1B is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.173 H 142.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#238C1B
RGBrgb(35, 140, 27)
HSLhsl(116, 68%, 33%)
HSVhsv(116, 81%, 55%)
CMYKcmyk(75%, 0%, 80.7%, 45.1%)
CIE-LABlab(50.91, -50.27, 47.79)
CIE-LCHlch(50.91, 69.36, 136.45°)
OKLaboklab(56.04% -0.1368 0.1066)
OKLCHoklch(56.04% 0.173 142.1)
XYZxyz(10.2684, 19.1915, 4.1999)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C1B #841B8C
analogous
#5C8C1B #238C1B #1B8C4B
triadic
#238C1B #1B238C #8C1B23
tetradic
#238C1B #1B5C8C #841B8C #8C4B1B
square
#238C1B #1B5C8C #841B8C #8C4B1B
split-complementary
#238C1B #4B1B8C #8C1B5C
monochromatic
#092507 #165911 #238C1B #30BF25 #51DB46

Accessibility & contrast

On white

4.34
#238C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#238C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C1B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C1B#FFFFFF#000000##000000
##238C1B1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238c1b;
/* rgb */ color: rgb(35, 140, 27);
/* oklch */ color: oklch(56.0% 0.173 142.1);
Tailwind
colors: {
  custom: {
    50: '#70af61',
    500: '#238c1b',
    950: '#000000',
  },
}
SCSS
$custom: #238c1b;
$custom-light: #70af61;
$custom-dark: #000000;
JSON
{
  "hex": "#238c1b",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 115.752,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56036,
    "c": 0.17348,
    "h": 142.1
  },
  "luminance": 0.19193
}

Semantic roles & 50–950 ramp

primary
#238C1B
secondary
#B446BD
accent
#3DEBDE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #238C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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