#26812F#26812F

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

Color values

HEX#26812F
RGBrgb(38, 129, 47)
HSLhsl(126, 54%, 33%)
HSVhsv(126, 71%, 51%)
CMYKcmyk(70.5%, 0%, 63.6%, 49.4%)
CIE-LABlab(47.39, -43.96, 36.01)
CIE-LCHlch(47.39, 56.83, 140.68°)
OKLaboklab(53.18% -0.1189 0.0844)
OKLCHoklch(53.18% 0.146 144.6)
XYZxyz(9.1621, 16.3168, 5.3554)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26812F #812678
analogous
#4A8126 #26812F #26815C
triadic
#26812F #2F2681 #812F26
tetradic
#26812F #264A81 #812678 #815C26
square
#26812F #264A81 #812678 #815C26
split-complementary
#26812F #5C2681 #81264A
monochromatic
#0A220D #18521E #26812F #34B040 #55CD60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26812F#FFFFFF#000000##FFFFFF
##26812F1.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)
#837526
Deuteranopia (green-blind)
#796D36
Tritanopia (blue-blind)
#087E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #26812f;
/* rgb */ color: rgb(38, 129, 47);
/* oklch */ color: oklch(53.2% 0.146 144.6);
Tailwind
colors: {
  custom: {
    50: '#6ea66b',
    500: '#26812f',
    950: '#000000',
  },
}
SCSS
$custom: #26812f;
$custom-light: #6ea66b;
$custom-dark: #000000;
JSON
{
  "hex": "#26812f",
  "rgb": {
    "r": 38,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 125.934,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.14583,
    "h": 144.6
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#26812F
secondary
#B151A8
accent
#4ACFDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #26812F

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

Preview Lab → · Contrast checker → · Palette generator →

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