#26812C#26812C

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

Color values

HEX#26812C
RGBrgb(38, 129, 44)
HSLhsl(124, 54%, 33%)
HSVhsv(124, 71%, 51%)
CMYKcmyk(70.5%, 0%, 65.9%, 49.4%)
CIE-LABlab(47.36, -44.32, 37.39)
CIE-LCHlch(47.36, 57.99, 139.85°)
OKLaboklab(53.15% -0.12 0.087)
OKLCHoklch(53.15% 0.148 144.1)
XYZxyz(9.1036, 16.2935, 5.0476)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26812C #81267B
analogous
#4D8126 #26812C #268159
triadic
#26812C #2C2681 #812C26
tetradic
#26812C #264D81 #81267B #815926
square
#26812C #264D81 #81267B #815926
split-complementary
#26812C #592681 #81264D
monochromatic
#0A220C #18521C #26812C #34B03C #55CD5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26812C#FFFFFF#000000##FFFFFF
##26812C1.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)
#847522
Deuteranopia (green-blind)
#796D33
Tritanopia (blue-blind)
#0A7D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #26812c;
/* rgb */ color: rgb(38, 129, 44);
/* oklch */ color: oklch(53.1% 0.148 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ea669',
    500: '#26812c',
    950: '#000000',
  },
}
SCSS
$custom: #26812c;
$custom-light: #6ea669;
$custom-dark: #000000;
JSON
{
  "hex": "#26812c",
  "rgb": {
    "r": 38,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 123.956,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.14827,
    "h": 144.1
  },
  "luminance": 0.16294
}

Semantic roles & 50–950 ramp

primary
#26812C
secondary
#B151AB
accent
#4AD4DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #26812C

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

Preview Lab → · Contrast checker → · Palette generator →

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