#268A1B#268A1B

#268A1B is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.170 H 141.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#268A1B
RGBrgb(38, 138, 27)
HSLhsl(114, 67%, 32%)
HSVhsv(114, 80%, 54%)
CMYKcmyk(72.5%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.30, -49.05, 47.22)
CIE-LCHlch(50.30, 68.08, 136.09°)
OKLaboklab(55.54% -0.1337 0.1054)
OKLCHoklch(55.54% 0.17 141.7)
XYZxyz(10.0851, 18.6671, 4.1083)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268A1B #7F1B8A
analogous
#5E8A1B #268A1B #1B8A47
triadic
#268A1B #1B268A #8A1B26
tetradic
#268A1B #1B5E8A #7F1B8A #8A471B
square
#268A1B #1B5E8A #7F1B8A #8A471B
split-complementary
#268A1B #471B8A #8A1B5E
monochromatic
#0A2407 #185711 #268A1B #34BD25 #54DB45

Accessibility & contrast

On white

4.44
#268A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#268A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268A1B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268A1B#FFFFFF#000000##000000
##268A1B1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#098675
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #268a1b;
/* rgb */ color: rgb(38, 138, 27);
/* oklch */ color: oklch(55.5% 0.170 141.7);
Tailwind
colors: {
  custom: {
    50: '#71ad61',
    500: '#268a1b',
    950: '#000000',
  },
}
SCSS
$custom: #268a1b;
$custom-light: #71ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#268a1b",
  "rgb": {
    "r": 38,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 114.054,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55544,
    "c": 0.17026,
    "h": 141.7
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

primary
#268A1B
secondary
#B045BC
accent
#3EEAD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #268A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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