#268518#268518

#268518 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.166 H 141.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#268518
RGBrgb(38, 133, 24)
HSLhsl(112, 69%, 31%)
HSVhsv(112, 82%, 52%)
CMYKcmyk(71.4%, 0%, 82%, 47.8%)
CIE-LABlab(48.58, -47.52, 46.55)
CIE-LCHlch(48.58, 66.52, 135.59°)
OKLaboklab(54.11% -0.1297 0.1036)
OKLCHoklch(54.11% 0.166 141.4)
XYZxyz(9.3512, 17.2521, 3.7011)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268518 #771885
analogous
#5C8518 #268518 #188541
triadic
#268518 #182685 #851826
tetradic
#268518 #185C85 #771885 #854118
square
#268518 #185C85 #771885 #854118
split-complementary
#268518 #411885 #85185C
monochromatic
#081D05 #17510F #268518 #35B921 #50DC3C

Accessibility & contrast

On white

4.72
#268518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#268518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268518
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268518#FFFFFF#000000##FFFFFF
##2685181.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#0F8171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #268518;
/* rgb */ color: rgb(38, 133, 24);
/* oklch */ color: oklch(54.1% 0.166 141.4);
Tailwind
colors: {
  custom: {
    50: '#70a95f',
    500: '#268518',
    950: '#000000',
  },
}
SCSS
$custom: #268518;
$custom-light: #70a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#268518",
  "rgb": {
    "r": 38,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 112.294,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54112,
    "c": 0.16601,
    "h": 141.4
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#268518
secondary
#A940B9
accent
#3CECD6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #268518

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

Preview Lab → · Contrast checker → · Palette generator →

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