#268236#268236

#268236 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.141 H 146.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#268236
RGBrgb(38, 130, 54)
HSLhsl(130, 55%, 33%)
HSVhsv(130, 71%, 51%)
CMYKcmyk(70.8%, 0%, 58.5%, 49%)
CIE-LABlab(47.81, -43.42, 33.05)
CIE-LCHlch(47.81, 54.57, 142.72°)
OKLaboklab(53.56% -0.1172 0.0786)
OKLCHoklch(53.56% 0.141 146.1)
XYZxyz(9.4472, 16.6427, 6.2038)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268236 #822672
analogous
#448226 #268236 #268264
triadic
#268236 #362682 #823626
tetradic
#268236 #264482 #822672 #826426
square
#268236 #264482 #822672 #826426
split-complementary
#268236 #642682 #822644
monochromatic
#0A230F #185322 #268236 #34B14A #55CD6A

Accessibility & contrast

On white

4.85
#268236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#268236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268236
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268236#FFFFFF#000000##FFFFFF
##2682361.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762F
Deuteranopia (green-blind)
#796E3C
Tritanopia (blue-blind)
#027F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #268236;
/* rgb */ color: rgb(38, 130, 54);
/* oklch */ color: oklch(53.6% 0.141 146.1);
Tailwind
colors: {
  custom: {
    50: '#6ea76f',
    500: '#268236',
    950: '#000000',
  },
}
SCSS
$custom: #268236;
$custom-light: #6ea76f;
$custom-dark: #000000;
JSON
{
  "hex": "#268236",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 130.435,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.14111,
    "h": 146.1
  },
  "luminance": 0.16644
}

Semantic roles & 50–950 ramp

primary
#268236
secondary
#B252A1
accent
#4AC4DE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #268236

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

Preview Lab → · Contrast checker → · Palette generator →

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