#266F12#266F12

#266F12 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.143 H 140.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#266F12
RGBrgb(38, 111, 18)
HSLhsl(107, 72%, 25%)
HSVhsv(107, 84%, 44%)
CMYKcmyk(65.8%, 0%, 83.8%, 56.5%)
CIE-LABlab(40.94, -39.97, 41.27)
CIE-LCHlch(40.94, 57.45, 134.09°)
OKLaboklab(47.77% -0.1097 0.0916)
OKLCHoklch(47.77% 0.143 140.1)
XYZxyz(6.5926, 11.8240, 2.5070)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266F12 #5B126F
analogous
#546F12 #266F12 #126F2D
triadic
#266F12 #12266F #6F1226
tetradic
#266F12 #12546F #5B126F #6F2D12
square
#266F12 #12546F #5B126F #6F2D12
split-complementary
#266F12 #2D126F #6F1254
monochromatic
#091A04 #143A09 #266F12 #38A41B #4AD823

Accessibility & contrast

On white

6.24
#266F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#266F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266F12
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266F12#FFFFFF#000000##FFFFFF
##266F121.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#1B6B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #266f12;
/* rgb */ color: rgb(38, 111, 18);
/* oklch */ color: oklch(47.8% 0.143 140.1);
Tailwind
colors: {
  custom: {
    50: '#6b9959',
    500: '#266f12',
    950: '#000000',
  },
}
SCSS
$custom: #266f12;
$custom-light: #6b9959;
$custom-dark: #000000;
JSON
{
  "hex": "#266f12",
  "rgb": {
    "r": 38,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 107.097,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.14294,
    "h": 140.1
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#266F12
secondary
#8E37A6
accent
#39EFC8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #266F12

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

Preview Lab → · Contrast checker → · Palette generator →

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