#238B1C#238B1C

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

Color values

HEX#238B1C
RGBrgb(35, 139, 28)
HSLhsl(116, 66%, 33%)
HSVhsv(116, 80%, 55%)
CMYKcmyk(74.8%, 0%, 79.9%, 45.5%)
CIE-LABlab(50.58, -49.87, 47.14)
CIE-LCHlch(50.58, 68.62, 136.61°)
OKLaboklab(55.76% -0.1357 0.1054)
OKLCHoklch(55.76% 0.172 142.2)
XYZxyz(10.1348, 18.9053, 4.2133)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B1C #841C8B
analogous
#5B8B1C #238B1C #1C8B4C
triadic
#238B1C #1C238B #8B1C23
tetradic
#238B1C #1C5B8B #841C8B #8B4C1C
square
#238B1C #1C5B8B #841C8B #8B4C1C
split-complementary
#238B1C #4C1C8B #8B1C5B
monochromatic
#092507 #165812 #238B1C #30BE26 #51DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238B1C#FFFFFF#000000##000000
##238B1C1.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)
#837529
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238b1c;
/* rgb */ color: rgb(35, 139, 28);
/* oklch */ color: oklch(55.8% 0.172 142.2);
Tailwind
colors: {
  custom: {
    50: '#70ae62',
    500: '#238b1c',
    950: '#000000',
  },
}
SCSS
$custom: #238b1c;
$custom-light: #70ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#238b1c",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 116.216,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5576,
    "c": 0.17183,
    "h": 142.2
  },
  "luminance": 0.18906
}

Semantic roles & 50–950 ramp

primary
#238B1C
secondary
#B447BC
accent
#3EE9DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #238B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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