#26812A#26812A

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

Color values

HEX#26812A
RGBrgb(38, 129, 42)
HSLhsl(123, 54%, 33%)
HSVhsv(123, 71%, 51%)
CMYKcmyk(70.5%, 0%, 67.4%, 49.4%)
CIE-LABlab(47.34, -44.55, 38.29)
CIE-LCHlch(47.34, 58.74, 139.32°)
OKLaboklab(53.13% -0.1208 0.0887)
OKLCHoklch(53.13% 0.15 143.7)
XYZxyz(9.0669, 16.2788, 4.8543)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26812A #81267D
analogous
#508126 #26812A #268157
triadic
#26812A #2A2681 #812A26
tetradic
#26812A #265081 #81267D #815726
square
#26812A #265081 #81267D #815726
split-complementary
#26812A #572681 #812650
monochromatic
#0A220B #18521B #26812A #34B039 #55CD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26812A#FFFFFF#000000##FFFFFF
##26812A1.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)
#84751F
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#0B7D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #26812a;
/* rgb */ color: rgb(38, 129, 42);
/* oklch */ color: oklch(53.1% 0.150 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ea668',
    500: '#26812a',
    950: '#000000',
  },
}
SCSS
$custom: #26812a;
$custom-light: #6ea668;
$custom-dark: #000000;
JSON
{
  "hex": "#26812a",
  "rgb": {
    "r": 38,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 122.637,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53127,
    "c": 0.14983,
    "h": 143.7
  },
  "luminance": 0.1628
}

Semantic roles & 50–950 ramp

primary
#26812A
secondary
#B151AD
accent
#4AD7DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #26812A

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

Preview Lab → · Contrast checker → · Palette generator →

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