#238B1B#238B1B

#238B1B is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.172 H 142.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#238B1B
RGBrgb(35, 139, 27)
HSLhsl(116, 67%, 33%)
HSVhsv(116, 81%, 55%)
CMYKcmyk(74.8%, 0%, 80.6%, 45.5%)
CIE-LABlab(50.57, -49.94, 47.46)
CIE-LCHlch(50.57, 68.89, 136.45°)
OKLaboklab(55.75% -0.1359 0.1059)
OKLCHoklch(55.75% 0.172 142.1)
XYZxyz(10.1230, 18.9006, 4.1514)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B1B #831B8B
analogous
#5B8B1B #238B1B #1B8B4B
triadic
#238B1B #1B238B #8B1B23
tetradic
#238B1B #1B5B8B #831B8B #8B4B1B
square
#238B1B #1B5B8B #831B8B #8B4B1B
split-complementary
#238B1B #4B1B8B #8B1B5B
monochromatic
#092507 #165811 #238B1B #30BE25 #50DB45

Accessibility & contrast

On white

4.39
#238B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#238B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B1B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B1B#FFFFFF#000000##000000
##238B1B1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238b1b;
/* rgb */ color: rgb(35, 139, 27);
/* oklch */ color: oklch(55.8% 0.172 142.1);
Tailwind
colors: {
  custom: {
    50: '#70ae61',
    500: '#238b1b',
    950: '#000000',
  },
}
SCSS
$custom: #238b1b;
$custom-light: #70ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#238b1b",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 115.714,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.17235,
    "h": 142.1
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#238B1B
secondary
#B445BC
accent
#3DEADE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #238B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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