#268418#268418

#268418 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.165 H 141.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#268418
RGBrgb(38, 132, 24)
HSLhsl(112, 69%, 31%)
HSVhsv(112, 82%, 52%)
CMYKcmyk(71.2%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.23, -47.17, 46.23)
CIE-LCHlch(48.23, 66.05, 135.58°)
OKLaboklab(53.83% -0.1288 0.1029)
OKLCHoklch(53.83% 0.165 141.4)
XYZxyz(9.2150, 16.9796, 3.6557)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268418 #761884
analogous
#5C8418 #268418 #188440
triadic
#268418 #182684 #841826
tetradic
#268418 #185C84 #761884 #844018
square
#268418 #185C84 #761884 #844018
split-complementary
#268418 #401884 #84185C
monochromatic
#081C05 #17500F #268418 #35B821 #50DB3B

Accessibility & contrast

On white

4.78
#268418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#268418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268418
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268418#FFFFFF#000000##FFFFFF
##2684181.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#108070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #268418;
/* rgb */ color: rgb(38, 132, 24);
/* oklch */ color: oklch(53.8% 0.165 141.4);
Tailwind
colors: {
  custom: {
    50: '#70a95f',
    500: '#268418',
    950: '#000000',
  },
}
SCSS
$custom: #268418;
$custom-light: #70a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#268418",
  "rgb": {
    "r": 38,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 112.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53828,
    "c": 0.16486,
    "h": 141.4
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#268418
secondary
#A840B8
accent
#3CECD5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #268418

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

Preview Lab → · Contrast checker → · Palette generator →

#268418 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva