#268317#268317

#268317 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.164 H 141.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#268317
RGBrgb(38, 131, 23)
HSLhsl(112, 70%, 30%)
HSVhsv(112, 82%, 51%)
CMYKcmyk(71%, 0%, 82.4%, 48.6%)
CIE-LABlab(47.89, -46.89, 46.22)
CIE-LCHlch(47.89, 65.84, 135.42°)
OKLaboklab(53.54% -0.1281 0.1027)
OKLCHoklch(53.54% 0.164 141.3)
XYZxyz(9.0698, 16.7056, 3.5570)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268317 #741783
analogous
#5C8317 #268317 #17833E
triadic
#268317 #172683 #831726
tetradic
#268317 #175C83 #741783 #833E17
square
#268317 #175C83 #741783 #833E17
split-complementary
#268317 #3E1783 #83175C
monochromatic
#081B05 #174F0E #268317 #35B720 #4FDC38

Accessibility & contrast

On white

4.84
#268317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#268317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268317
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268317#FFFFFF#000000##FFFFFF
##2683171.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#107F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #268317;
/* rgb */ color: rgb(38, 131, 23);
/* oklch */ color: oklch(53.5% 0.164 141.3);
Tailwind
colors: {
  custom: {
    50: '#6fa85e',
    500: '#268317',
    950: '#000000',
  },
}
SCSS
$custom: #268317;
$custom-light: #6fa85e;
$custom-dark: #000000;
JSON
{
  "hex": "#268317",
  "rgb": {
    "r": 38,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 111.667,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.16418,
    "h": 141.3
  },
  "luminance": 0.16707
}

Semantic roles & 50–950 ramp

primary
#268317
secondary
#A63FB7
accent
#3BEDD4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #268317

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

Preview Lab → · Contrast checker → · Palette generator →

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