#268227#268227

#268227 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.153 H 143.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#268227
RGBrgb(38, 130, 39)
HSLhsl(121, 55%, 33%)
HSVhsv(121, 71%, 51%)
CMYKcmyk(70.8%, 0%, 70%, 49%)
CIE-LABlab(47.65, -45.23, 39.96)
CIE-LCHlch(47.65, 60.35, 138.54°)
OKLaboklab(53.38% -0.1228 0.0919)
OKLCHoklch(53.38% 0.153 143.2)
XYZxyz(9.1476, 16.5228, 4.6262)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268227 #822681
analogous
#538226 #268227 #268255
triadic
#268227 #272682 #822726
tetradic
#268227 #265382 #822681 #825526
square
#268227 #265382 #822681 #825526
split-complementary
#268227 #552682 #822653
monochromatic
#0A230B #185319 #268227 #34B135 #55CD56

Accessibility & contrast

On white

4.88
#268227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#268227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268227
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268227#FFFFFF#000000##FFFFFF
##2682271.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761A
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#0C7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #268227;
/* rgb */ color: rgb(38, 130, 39);
/* oklch */ color: oklch(53.4% 0.153 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ea766',
    500: '#268227',
    950: '#000000',
  },
}
SCSS
$custom: #268227;
$custom-light: #6ea766;
$custom-dark: #000000;
JSON
{
  "hex": "#268227",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 120.652,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.15333,
    "h": 143.2
  },
  "luminance": 0.16524
}

Semantic roles & 50–950 ramp

primary
#268227
secondary
#B252B1
accent
#4ADCDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #268227

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

Preview Lab → · Contrast checker → · Palette generator →

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