#268420#268420

#268420 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.160 H 142.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#268420
RGBrgb(38, 132, 32)
HSLhsl(116, 61%, 32%)
HSVhsv(116, 76%, 52%)
CMYKcmyk(71.2%, 0%, 75.8%, 48.2%)
CIE-LABlab(48.28, -46.59, 43.47)
CIE-LCHlch(48.28, 63.72, 136.98°)
OKLaboklab(53.88% -0.1268 0.0983)
OKLCHoklch(53.88% 0.16 142.2)
XYZxyz(9.3108, 17.0179, 4.1603)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268420 #7E2084
analogous
#588420 #268420 #20844C
triadic
#268420 #202684 #842026
tetradic
#268420 #205884 #7E2084 #844C20
square
#268420 #205884 #7E2084 #844C20
split-complementary
#268420 #4C2084 #842058
monochromatic
#0A2108 #185314 #268420 #34B52C #53D34B

Accessibility & contrast

On white

4.77
#268420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #268420
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268420#FFFFFF#000000##FFFFFF
##2684201.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#0D8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #268420;
/* rgb */ color: rgb(38, 132, 32);
/* oklch */ color: oklch(53.9% 0.160 142.2);
Tailwind
colors: {
  custom: {
    50: '#6fa962',
    500: '#268420',
    950: '#000000',
  },
}
SCSS
$custom: #268420;
$custom-light: #6fa962;
$custom-dark: #000000;
JSON
{
  "hex": "#268420",
  "rgb": {
    "r": 38,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 116.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.16044,
    "h": 142.2
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#268420
secondary
#B04AB6
accent
#44E4DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #268420

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

Preview Lab → · Contrast checker → · Palette generator →

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