#238C1A#238C1A

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

Color values

HEX#238C1A
RGBrgb(35, 140, 26)
HSLhsl(115, 69%, 33%)
HSVhsv(115, 81%, 55%)
CMYKcmyk(75%, 0%, 81.4%, 45.1%)
CIE-LABlab(50.91, -50.34, 48.10)
CIE-LCHlch(50.91, 69.62, 136.30°)
OKLaboklab(56.03% -0.1371 0.1071)
OKLCHoklch(56.03% 0.174 142)
XYZxyz(10.2571, 19.1869, 4.1400)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C1A #831A8C
analogous
#5C8C1A #238C1A #1A8C4A
triadic
#238C1A #1A238C #8C1A23
tetradic
#238C1A #1A5C8C #831A8C #8C4A1A
square
#238C1A #1A5C8C #831A8C #8C4A1A
split-complementary
#238C1A #4A1A8C #8C1A5C
monochromatic
#092507 #165810 #238C1A #30C024 #50DC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238C1A#FFFFFF#000000##000000
##238C1A1.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: #238c1a;
/* rgb */ color: rgb(35, 140, 26);
/* oklch */ color: oklch(56.0% 0.174 142.0);
Tailwind
colors: {
  custom: {
    50: '#70af61',
    500: '#238c1a',
    950: '#000000',
  },
}
SCSS
$custom: #238c1a;
$custom-light: #70af61;
$custom-dark: #000000;
JSON
{
  "hex": "#238c1a",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 115.263,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5603,
    "c": 0.17396,
    "h": 142
  },
  "luminance": 0.19188
}

Semantic roles & 50–950 ramp

primary
#238C1A
secondary
#B444BE
accent
#3CECDE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #238C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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