#265D12#265D12

#265D12 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.5% C 0.120 H 138.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#265D12
RGBrgb(38, 93, 18)
HSLhsl(104, 68%, 22%)
HSVhsv(104, 81%, 36%)
CMYKcmyk(59.1%, 0%, 80.6%, 63.5%)
CIE-LABlab(34.57, -32.86, 35.16)
CIE-LCHlch(34.57, 48.12, 133.06°)
OKLaboklab(42.5% -0.0906 0.0789)
OKLCHoklch(42.5% 0.12 138.9)
XYZxyz(4.8227, 8.2840, 1.9170)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265D12 #49125D
analogous
#4C5D12 #265D12 #125D24
triadic
#265D12 #12265D #5D1226
tetradic
#265D12 #124C5D #49125D #5D2412
square
#265D12 #124C5D #49125D #5D2412
split-complementary
#265D12 #24125D #5D124C
monochromatic
#0A1A05 #112A08 #265D12 #3B901C #50C426

Accessibility & contrast

On white

7.90
#265D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#265D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #265D12
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265D12#FFFFFF#000000##FFFFFF
##265D121.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#215A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #265d12;
/* rgb */ color: rgb(38, 93, 18);
/* oklch */ color: oklch(42.5% 0.120 138.9);
Tailwind
colors: {
  custom: {
    50: '#678b56',
    500: '#265d12',
    950: '#000000',
  },
}
SCSS
$custom: #265d12;
$custom-light: #678b56;
$custom-dark: #000000;
JSON
{
  "hex": "#265d12",
  "rgb": {
    "r": 38,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 104,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42504,
    "c": 0.12009,
    "h": 138.9
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#265D12
secondary
#7C3595
accent
#3DEABC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #265D12

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

Preview Lab → · Contrast checker → · Palette generator →

#265D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva