#266E23#266E23

#266E23 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.131 H 142.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#266E23
RGBrgb(38, 110, 35)
HSLhsl(118, 52%, 28%)
HSVhsv(118, 68%, 43%)
CMYKcmyk(65.5%, 0%, 68.2%, 56.9%)
CIE-LABlab(40.71, -38.12, 34.23)
CIE-LCHlch(40.71, 51.23, 138.08°)
OKLaboklab(47.62% -0.1037 0.0793)
OKLCHoklch(47.62% 0.131 142.6)
XYZxyz(6.6783, 11.6846, 3.4932)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266E23 #6B236E
analogous
#4B6E23 #266E23 #236E45
triadic
#266E23 #23266E #6E2326
tetradic
#266E23 #234B6E #6B236E #6E4523
square
#266E23 #234B6E #6B236E #6E4523
split-complementary
#266E23 #45236E #6E234B
monochromatic
#081707 #164014 #266E23 #369C32 #4CC447

Accessibility & contrast

On white

6.29
#266E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#266E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266E23
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266E23#FFFFFF#000000##FFFFFF
##266E231.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71641A
Deuteranopia (green-blind)
#685E2A
Tritanopia (blue-blind)
#186B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #266e23;
/* rgb */ color: rgb(38, 110, 35);
/* oklch */ color: oklch(47.6% 0.131 142.6);
Tailwind
colors: {
  custom: {
    50: '#6a9862',
    500: '#266e23',
    950: '#000000',
  },
}
SCSS
$custom: #266e23;
$custom-light: #6a9862;
$custom-dark: #000000;
JSON
{
  "hex": "#266e23",
  "rgb": {
    "r": 38,
    "g": 110,
    "b": 35
  },
  "hsl": {
    "h": 117.6,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47622,
    "c": 0.13054,
    "h": 142.6
  },
  "luminance": 0.11685
}

Semantic roles & 50–950 ramp

primary
#266E23
secondary
#9E4CA1
accent
#4DDBD5
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #266E23

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

Preview Lab → · Contrast checker → · Palette generator →

#266E23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva