#268A2D#268A2D

#268A2D is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.159 H 144.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#268A2D
RGBrgb(38, 138, 45)
HSLhsl(124, 57%, 35%)
HSVhsv(124, 72%, 54%)
CMYKcmyk(72.5%, 0%, 67.4%, 45.9%)
CIE-LABlab(50.43, -47.47, 40.33)
CIE-LCHlch(50.43, 62.29, 139.65°)
OKLaboklab(55.69% -0.1285 0.0934)
OKLCHoklch(55.69% 0.159 144)
XYZxyz(10.3608, 18.7773, 5.5605)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268A2D #8A2683
analogous
#518A26 #268A2D #268A5F
triadic
#268A2D #2D268A #8A2D26
tetradic
#268A2D #26518A #8A2683 #8A5F26
square
#268A2D #26518A #8A2683 #8A5F26
split-complementary
#268A2D #5F268A #8A2651
monochromatic
#0C2A0E #195A1D #268A2D #33BA3D #59D162

Accessibility & contrast

On white

4.42
#268A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#268A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268A2D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268A2D#FFFFFF#000000##000000
##268A2D1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D21
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #268a2d;
/* rgb */ color: rgb(38, 138, 45);
/* oklch */ color: oklch(55.7% 0.159 144.0);
Tailwind
colors: {
  custom: {
    50: '#70ad6a',
    500: '#268a2d',
    950: '#000000',
  },
}
SCSS
$custom: #268a2d;
$custom-light: #70ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#268a2d",
  "rgb": {
    "r": 38,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 124.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55694,
    "c": 0.15885,
    "h": 144
  },
  "luminance": 0.18778
}

Semantic roles & 50–950 ramp

primary
#268A2D
secondary
#B656AF
accent
#48D5E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #268A2D

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

Preview Lab → · Contrast checker → · Palette generator →

#268A2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva