#268C23#268C23

#268C23 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.168 H 142.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#268C23
RGBrgb(38, 140, 35)
HSLhsl(118, 60%, 34%)
HSVhsv(118, 75%, 55%)
CMYKcmyk(72.9%, 0%, 75%, 45.1%)
CIE-LABlab(51.02, -49.13, 45.10)
CIE-LCHlch(51.02, 66.69, 137.45°)
OKLaboklab(56.16% -0.1335 0.1021)
OKLCHoklch(56.16% 0.168 142.6)
XYZxyz(10.4802, 19.2884, 4.7605)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C23 #89238C
analogous
#5B8C23 #268C23 #238C55
triadic
#268C23 #23268C #8C2326
tetradic
#268C23 #235B8C #89238C #8C5523
square
#268C23 #235B8C #89238C #8C5523
split-complementary
#268C23 #55238C #8C235B
monochromatic
#0B2A0B #195B17 #268C23 #33BD2F #59D455

Accessibility & contrast

On white

4.32
#268C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#268C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268C23
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268C23#FFFFFF#000000##000000
##268C231.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#84762E
Tritanopia (blue-blind)
#048878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268c23;
/* rgb */ color: rgb(38, 140, 35);
/* oklch */ color: oklch(56.2% 0.168 142.6);
Tailwind
colors: {
  custom: {
    50: '#71af65',
    500: '#268c23',
    950: '#000000',
  },
}
SCSS
$custom: #268c23;
$custom-light: #71af65;
$custom-dark: #000000;
JSON
{
  "hex": "#268c23",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 118.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.1681,
    "h": 142.6
  },
  "luminance": 0.1929
}

Semantic roles & 50–950 ramp

primary
#268C23
secondary
#B652B8
accent
#45E3DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268C23

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

Preview Lab → · Contrast checker → · Palette generator →

#268C23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva