#268342#268342

#268342 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.131 H 149.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#268342
RGBrgb(38, 131, 66)
HSLhsl(138, 55%, 33%)
HSVhsv(138, 71%, 51%)
CMYKcmyk(71%, 0%, 49.6%, 48.6%)
CIE-LABlab(48.31, -41.94, 27.39)
CIE-LCHlch(48.31, 50.09, 146.86°)
OKLaboklab(54.02% -0.113 0.0668)
OKLCHoklch(54.02% 0.131 149.4)
XYZxyz(9.8982, 17.0369, 7.9200)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268342 #832667
analogous
#388326 #268342 #268371
triadic
#268342 #422683 #834226
tetradic
#268342 #263883 #832667 #837126
square
#268342 #263883 #832667 #837126
split-complementary
#268342 #712683 #832638
monochromatic
#0A2412 #18542A #268342 #34B25A #56CE7A

Accessibility & contrast

On white

4.76
#268342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#268342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268342
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268342#FFFFFF#000000##FFFFFF
##2683421.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773D
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #268342;
/* rgb */ color: rgb(38, 131, 66);
/* oklch */ color: oklch(54.0% 0.131 149.4);
Tailwind
colors: {
  custom: {
    50: '#6da877',
    500: '#268342',
    950: '#000000',
  },
}
SCSS
$custom: #268342;
$custom-light: #6da877;
$custom-dark: #000000;
JSON
{
  "hex": "#268342",
  "rgb": {
    "r": 38,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 138.065,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.13123,
    "h": 149.4
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#268342
secondary
#B25295
accent
#49B2DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #268342

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

Preview Lab → · Contrast checker → · Palette generator →

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