#268117#268117

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

Color values

HEX#268117
RGBrgb(38, 129, 23)
HSLhsl(112, 70%, 30%)
HSVhsv(112, 82%, 51%)
CMYKcmyk(70.5%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.20, -46.19, 45.57)
CIE-LCHlch(47.20, 64.89, 135.39°)
OKLaboklab(52.97% -0.1262 0.1014)
OKLCHoklch(52.97% 0.162 141.2)
XYZxyz(8.8038, 16.1735, 3.4683)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268117 #721781
analogous
#5B8117 #268117 #17813D
triadic
#268117 #172681 #811726
tetradic
#268117 #175B81 #721781 #813D17
square
#268117 #175B81 #721781 #813D17
split-complementary
#268117 #3D1781 #81175B
monochromatic
#081A05 #174D0E #268117 #35B520 #4EDB37

Accessibility & contrast

On white

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

On black

4.23
#268117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##268117#FFFFFF#000000##FFFFFF
##2681171.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.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: #268117;
/* rgb */ color: rgb(38, 129, 23);
/* oklch */ color: oklch(53.0% 0.162 141.2);
Tailwind
colors: {
  custom: {
    50: '#6fa65e',
    500: '#268117',
    950: '#000000',
  },
}
SCSS
$custom: #268117;
$custom-light: #6fa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#268117",
  "rgb": {
    "r": 38,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 111.509,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.16187,
    "h": 141.2
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

primary
#268117
secondary
#A53EB5
accent
#3BEDD3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #268117

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

Preview Lab → · Contrast checker → · Palette generator →

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