#268121#268121

#268121 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.156 H 142.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#268121
RGBrgb(38, 129, 33)
HSLhsl(117, 59%, 32%)
HSVhsv(117, 74%, 51%)
CMYKcmyk(70.5%, 0%, 74.4%, 49.4%)
CIE-LABlab(47.26, -45.44, 42.04)
CIE-LCHlch(47.26, 61.91, 137.22°)
OKLaboklab(53.04% -0.1236 0.0955)
OKLCHoklch(53.04% 0.156 142.3)
XYZxyz(8.9236, 16.2214, 4.0993)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268121 #7C2181
analogous
#568121 #268121 #21814C
triadic
#268121 #212681 #812126
tetradic
#268121 #215681 #7C2181 #814C21
square
#268121 #215681 #7C2181 #814C21
split-complementary
#268121 #4C2181 #812156
monochromatic
#092008 #185015 #268121 #34B22D #52D14B

Accessibility & contrast

On white

4.95
#268121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#268121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268121
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268121#FFFFFF#000000##FFFFFF
##2681211.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847510
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#0F7D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #268121;
/* rgb */ color: rgb(38, 129, 33);
/* oklch */ color: oklch(53.0% 0.156 142.3);
Tailwind
colors: {
  custom: {
    50: '#6fa663',
    500: '#268121',
    950: '#000000',
  },
}
SCSS
$custom: #268121;
$custom-light: #6fa663;
$custom-dark: #000000;
JSON
{
  "hex": "#268121",
  "rgb": {
    "r": 38,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 116.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53041,
    "c": 0.1562,
    "h": 142.3
  },
  "luminance": 0.16222
}

Semantic roles & 50–950 ramp

primary
#268121
secondary
#AE4AB4
accent
#45E2DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #268121

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

Preview Lab → · Contrast checker → · Palette generator →

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