#268B1F#268B1F

#268B1F is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.169 H 142.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#268B1F
RGBrgb(38, 139, 31)
HSLhsl(116, 64%, 33%)
HSVhsv(116, 78%, 55%)
CMYKcmyk(72.7%, 0%, 77.7%, 45.5%)
CIE-LABlab(50.66, -49.10, 46.21)
CIE-LCHlch(50.66, 67.43, 136.74°)
OKLaboklab(55.85% -0.1337 0.1039)
OKLCHoklch(55.85% 0.169 142.2)
XYZxyz(10.2787, 18.9751, 4.4169)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268B1F #841F8B
analogous
#5C8B1F #268B1F #1F8B4E
triadic
#268B1F #1F268B #8B1F26
tetradic
#268B1F #1F5C8B #841F8B #8B4E1F
square
#268B1F #1F5C8B #841F8B #8B4E1F
split-complementary
#268B1F #4E1F8B #8B1F5C
monochromatic
#0B2709 #185914 #268B1F #34BD2A #56D74D

Accessibility & contrast

On white

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

On black

4.80
#268B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268B1F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268B1F#FFFFFF#000000##000000
##268B1F1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#078776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268b1f;
/* rgb */ color: rgb(38, 139, 31);
/* oklch */ color: oklch(55.9% 0.169 142.2);
Tailwind
colors: {
  custom: {
    50: '#71ae63',
    500: '#268b1f',
    950: '#000000',
  },
}
SCSS
$custom: #268b1f;
$custom-light: #71ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#268b1f",
  "rgb": {
    "r": 38,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 116.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55852,
    "c": 0.16928,
    "h": 142.2
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#268B1F
secondary
#B34CBA
accent
#41E7DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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