#268A1F#268A1F

#268A1F is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.168 H 142.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#268A1F
RGBrgb(38, 138, 31)
HSLhsl(116, 63%, 33%)
HSVhsv(116, 78%, 54%)
CMYKcmyk(72.5%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.32, -48.76, 45.87)
CIE-LCHlch(50.32, 66.95, 136.75°)
OKLaboklab(55.57% -0.1327 0.1032)
OKLCHoklch(55.57% 0.168 142.1)
XYZxyz(10.1345, 18.6868, 4.3689)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268A1F #831F8A
analogous
#5B8A1F #268A1F #1F8A4D
triadic
#268A1F #1F268A #8A1F26
tetradic
#268A1F #1F5B8A #831F8A #8A4D1F
square
#268A1F #1F5B8A #831F8A #8A4D1F
split-complementary
#268A1F #4D1F8A #8A1F5B
monochromatic
#0A2609 #185814 #268A1F #34BC2A #56D74C

Accessibility & contrast

On white

4.43
#268A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#268A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268A1F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268A1F#FFFFFF#000000##000000
##268A1F1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D07
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#088676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #268a1f;
/* rgb */ color: rgb(38, 138, 31);
/* oklch */ color: oklch(55.6% 0.168 142.1);
Tailwind
colors: {
  custom: {
    50: '#71ad63',
    500: '#268a1f',
    950: '#000000',
  },
}
SCSS
$custom: #268a1f;
$custom-light: #71ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#268a1f",
  "rgb": {
    "r": 38,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 116.075,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55571,
    "c": 0.16812,
    "h": 142.1
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#268A1F
secondary
#B24BBA
accent
#41E6DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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