#268720#268720

#268720 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.164 H 142.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#268720
RGBrgb(38, 135, 32)
HSLhsl(117, 62%, 33%)
HSVhsv(117, 76%, 53%)
CMYKcmyk(71.9%, 0%, 76.3%, 47.1%)
CIE-LABlab(49.31, -47.64, 44.50)
CIE-LCHlch(49.31, 65.19, 136.95°)
OKLaboklab(54.73% -0.1297 0.1004)
OKLCHoklch(54.73% 0.164 142.2)
XYZxyz(9.7235, 17.8432, 4.2979)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268720 #812087
analogous
#598720 #268720 #20874D
triadic
#268720 #202687 #872026
tetradic
#268720 #205987 #812087 #874D20
square
#268720 #205987 #812087 #874D20
split-complementary
#268720 #4D2087 #872059
monochromatic
#0A2409 #185614 #268720 #34B82C #55D54D

Accessibility & contrast

On white

4.60
#268720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#268720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #268720
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268720#FFFFFF#000000##FFFFFF
##2687201.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#0A8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #268720;
/* rgb */ color: rgb(38, 135, 32);
/* oklch */ color: oklch(54.7% 0.164 142.2);
Tailwind
colors: {
  custom: {
    50: '#70ab63',
    500: '#268720',
    950: '#000000',
  },
}
SCSS
$custom: #268720;
$custom-light: #70ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#268720",
  "rgb": {
    "r": 38,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 116.505,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54732,
    "c": 0.16401,
    "h": 142.2
  },
  "luminance": 0.17844
}

Semantic roles & 50–950 ramp

primary
#268720
secondary
#B14BB8
accent
#43E5DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268720

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

Preview Lab → · Contrast checker → · Palette generator →

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