#268D23#268D23

#268D23 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.169 H 142.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#268D23
RGBrgb(38, 141, 35)
HSLhsl(118, 60%, 35%)
HSVhsv(118, 75%, 55%)
CMYKcmyk(73%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.36, -49.47, 45.44)
CIE-LCHlch(51.36, 67.18, 137.43°)
OKLaboklab(56.44% -0.1345 0.1028)
OKLCHoklch(56.44% 0.169 142.6)
XYZxyz(10.6269, 19.5820, 4.8094)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268D23 #8A238D
analogous
#5B8D23 #268D23 #238D55
triadic
#268D23 #23268D #8D2326
tetradic
#268D23 #235B8D #8A238D #8D5523
square
#268D23 #235B8D #8A238D #8D5523
split-complementary
#268D23 #55238D #8D235B
monochromatic
#0C2B0B #195C17 #268D23 #33BE2F #59D555

Accessibility & contrast

On white

4.27
#268D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#268D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268D23
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268D23#FFFFFF#000000##000000
##268D231.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#038978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268d23;
/* rgb */ color: rgb(38, 141, 35);
/* oklch */ color: oklch(56.4% 0.169 142.6);
Tailwind
colors: {
  custom: {
    50: '#71af65',
    500: '#268d23',
    950: '#000000',
  },
}
SCSS
$custom: #268d23;
$custom-light: #71af65;
$custom-dark: #000000;
JSON
{
  "hex": "#268d23",
  "rgb": {
    "r": 38,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 118.302,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.16928,
    "h": 142.6
  },
  "luminance": 0.19583
}

Semantic roles & 50–950 ramp

primary
#268D23
secondary
#B653B9
accent
#44E3DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268D23

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

Preview Lab → · Contrast checker → · Palette generator →

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