#26812D#26812D

#26812D is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.147 H 144.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#26812D
RGBrgb(38, 129, 45)
HSLhsl(125, 54%, 33%)
HSVhsv(125, 71%, 51%)
CMYKcmyk(70.5%, 0%, 65.1%, 49.4%)
CIE-LABlab(47.37, -44.21, 36.93)
CIE-LCHlch(47.37, 57.61, 140.12°)
OKLaboklab(53.16% -0.1197 0.0862)
OKLCHoklch(53.16% 0.147 144.3)
XYZxyz(9.1227, 16.3011, 5.1478)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26812D #81267A
analogous
#4D8126 #26812D #26815A
triadic
#26812D #2D2681 #812D26
tetradic
#26812D #264D81 #81267A #815A26
square
#26812D #264D81 #81267A #815A26
split-complementary
#26812D #5A2681 #81264D
monochromatic
#0A220C #18521D #26812D #34B03D #55CD5E

Accessibility & contrast

On white

4.93
#26812D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#26812D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26812D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26812D#FFFFFF#000000##FFFFFF
##26812D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837523
Deuteranopia (green-blind)
#796D34
Tritanopia (blue-blind)
#097D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #26812d;
/* rgb */ color: rgb(38, 129, 45);
/* oklch */ color: oklch(53.2% 0.147 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ea669',
    500: '#26812d',
    950: '#000000',
  },
}
SCSS
$custom: #26812d;
$custom-light: #6ea669;
$custom-dark: #000000;
JSON
{
  "hex": "#26812d",
  "rgb": {
    "r": 38,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 124.615,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.14746,
    "h": 144.3
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#26812D
secondary
#B151AA
accent
#4AD2DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #26812D

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

Preview Lab → · Contrast checker → · Palette generator →

#26812D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva