#268118#268118

#268118 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.161 H 141.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#268118
RGBrgb(38, 129, 24)
HSLhsl(112, 69%, 30%)
HSVhsv(112, 81%, 51%)
CMYKcmyk(70.5%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.21, -46.13, 45.25)
CIE-LCHlch(47.21, 64.62, 135.55°)
OKLaboklab(52.98% -0.126 0.1009)
OKLCHoklch(52.98% 0.161 141.3)
XYZxyz(8.8140, 16.1776, 3.5221)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268118 #731881
analogous
#5A8118 #268118 #18813F
triadic
#268118 #182681 #811826
tetradic
#268118 #185A81 #731881 #813F18
square
#268118 #185A81 #731881 #813F18
split-complementary
#268118 #3F1881 #81185A
monochromatic
#081A05 #174D0E #268118 #35B522 #4FDA39

Accessibility & contrast

On white

4.96
#268118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#268118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268118
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268118#FFFFFF#000000##FFFFFF
##2681181.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#127D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #268118;
/* rgb */ color: rgb(38, 129, 24);
/* oklch */ color: oklch(53.0% 0.161 141.3);
Tailwind
colors: {
  custom: {
    50: '#6fa65e',
    500: '#268118',
    950: '#000000',
  },
}
SCSS
$custom: #268118;
$custom-light: #6fa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#268118",
  "rgb": {
    "r": 38,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 112,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52976,
    "c": 0.16137,
    "h": 141.3
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#268118
secondary
#A640B5
accent
#3CEBD4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #268118

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

Preview Lab → · Contrast checker → · Palette generator →

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