#26831C#26831C

#26831C is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.162 H 141.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#26831C
RGBrgb(38, 131, 28)
HSLhsl(114, 65%, 31%)
HSVhsv(114, 79%, 51%)
CMYKcmyk(71%, 0%, 78.6%, 48.6%)
CIE-LABlab(47.91, -46.55, 44.58)
CIE-LCHlch(47.91, 64.45, 136.24°)
OKLaboklab(53.57% -0.1269 0.1)
OKLCHoklch(53.57% 0.162 141.8)
XYZxyz(9.1247, 16.7275, 3.8462)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26831C #791C83
analogous
#59831C #26831C #1C8345
triadic
#26831C #1C2683 #831C26
tetradic
#26831C #1C5983 #791C83 #83451C
square
#26831C #1C5983 #791C83 #83451C
split-complementary
#26831C #451C83 #831C59
monochromatic
#091E06 #175111 #26831C #35B527 #51D743

Accessibility & contrast

On white

4.83
#26831C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#26831C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26831C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26831C#FFFFFF#000000##FFFFFF
##26831C1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#0F7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #26831c;
/* rgb */ color: rgb(38, 131, 28);
/* oklch */ color: oklch(53.6% 0.162 141.8);
Tailwind
colors: {
  custom: {
    50: '#6fa860',
    500: '#26831c',
    950: '#000000',
  },
}
SCSS
$custom: #26831c;
$custom-light: #6fa860;
$custom-dark: #000000;
JSON
{
  "hex": "#26831c",
  "rgb": {
    "r": 38,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 114.175,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.16159,
    "h": 141.8
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#26831C
secondary
#AB45B6
accent
#40E8D7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #26831C

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

Preview Lab → · Contrast checker → · Palette generator →

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