#26942C#26942C

#26942C is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.5% C 0.172 H 143.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#26942C
RGBrgb(38, 148, 44)
HSLhsl(123, 59%, 36%)
HSVhsv(123, 74%, 58%)
CMYKcmyk(74.3%, 0%, 70.3%, 42%)
CIE-LABlab(53.78, -51.06, 44.38)
CIE-LCHlch(53.78, 67.65, 139.01°)
OKLaboklab(58.48% -0.1383 0.1018)
OKLCHoklch(58.48% 0.172 143.7)
XYZxyz(11.8431, 21.7724, 5.9607)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26942C #94268E
analogous
#579426 #26942C #269463
triadic
#26942C #2C2694 #942C26
tetradic
#26942C #265794 #94268E #946326
square
#26942C #265794 #94268E #946326
split-complementary
#26942C #632694 #942657
monochromatic
#0D330F #19631E #26942C #33C53A #5FD665

Accessibility & contrast

On white

3.92
#26942C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#26942C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #26942C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26942C#FFFFFF#000000##000000
##26942C1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861D
Deuteranopia (green-blind)
#8B7D36
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #26942c;
/* rgb */ color: rgb(38, 148, 44);
/* oklch */ color: oklch(58.5% 0.172 143.7);
Tailwind
colors: {
  custom: {
    50: '#72b46b',
    500: '#26942c',
    950: '#000000',
  },
}
SCSS
$custom: #26942c;
$custom-light: #72b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#26942c",
  "rgb": {
    "r": 38,
    "g": 148,
    "b": 44
  },
  "hsl": {
    "h": 123.273,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.17173,
    "h": 143.7
  },
  "luminance": 0.21774
}

Semantic roles & 50–950 ramp

primary
#26942C
secondary
#BB5BB6
accent
#45DAE2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #26942C

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

Preview Lab → · Contrast checker → · Palette generator →

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