#268417#268417

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

Color values

HEX#268417
RGBrgb(38, 132, 23)
HSLhsl(112, 70%, 30%)
HSVhsv(112, 83%, 52%)
CMYKcmyk(71.2%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.23, -47.24, 46.54)
CIE-LCHlch(48.23, 66.31, 135.43°)
OKLaboklab(53.82% -0.129 0.1034)
OKLCHoklch(53.82% 0.165 141.3)
XYZxyz(9.2048, 16.9755, 3.6019)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268417 #751784
analogous
#5C8417 #268417 #17843E
triadic
#268417 #172684 #841726
tetradic
#268417 #175C84 #751784 #843E17
square
#268417 #175C84 #751784 #843E17
split-complementary
#268417 #3E1784 #84175C
monochromatic
#081C05 #17500E #268417 #35B820 #4FDC39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268417#FFFFFF#000000##FFFFFF
##2684171.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)
#7D7024
Tritanopia (blue-blind)
#108070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #268417;
/* rgb */ color: rgb(38, 132, 23);
/* oklch */ color: oklch(53.8% 0.165 141.3);
Tailwind
colors: {
  custom: {
    50: '#70a95e',
    500: '#268417',
    950: '#000000',
  },
}
SCSS
$custom: #268417;
$custom-light: #70a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#268417",
  "rgb": {
    "r": 38,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 111.743,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.16533,
    "h": 141.3
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#268417
secondary
#A73FB8
accent
#3BEDD5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #268417

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

Preview Lab → · Contrast checker → · Palette generator →

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