#268B1B#268B1B

#268B1B is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.171 H 141.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#268B1B
RGBrgb(38, 139, 27)
HSLhsl(114, 67%, 33%)
HSVhsv(114, 81%, 55%)
CMYKcmyk(72.7%, 0%, 80.6%, 45.5%)
CIE-LABlab(50.63, -49.39, 47.55)
CIE-LCHlch(50.63, 68.55, 136.09°)
OKLaboklab(55.83% -0.1346 0.1061)
OKLCHoklch(55.83% 0.171 141.8)
XYZxyz(10.2292, 18.9553, 4.1563)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268B1B #801B8B
analogous
#5E8B1B #268B1B #1B8B48
triadic
#268B1B #1B268B #8B1B26
tetradic
#268B1B #1B5E8B #801B8B #8B481B
square
#268B1B #1B5E8B #801B8B #8B481B
split-complementary
#268B1B #481B8B #8B1B5E
monochromatic
#0A2507 #185811 #268B1B #34BE25 #54DB45

Accessibility & contrast

On white

4.38
#268B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#268B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268B1B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268B1B#FFFFFF#000000##000000
##268B1B1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#088776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268b1b;
/* rgb */ color: rgb(38, 139, 27);
/* oklch */ color: oklch(55.8% 0.171 141.8);
Tailwind
colors: {
  custom: {
    50: '#71ae61',
    500: '#268b1b',
    950: '#000000',
  },
}
SCSS
$custom: #268b1b;
$custom-light: #71ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#268b1b",
  "rgb": {
    "r": 38,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 114.107,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.1714,
    "h": 141.8
  },
  "luminance": 0.18956
}

Semantic roles & 50–950 ramp

primary
#268B1B
secondary
#B145BC
accent
#3DEAD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #268B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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