#265F12#265F12

#265F12 is a dark, vivid green. Relative luminance 0.086; OKLCH L 43.1% C 0.123 H 139.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#265F12
RGBrgb(38, 95, 18)
HSLhsl(104, 68%, 22%)
HSVhsv(104, 81%, 37%)
CMYKcmyk(60%, 0%, 81.1%, 62.7%)
CIE-LABlab(35.28, -33.69, 35.86)
CIE-LCHlch(35.28, 49.20, 133.21°)
OKLaboklab(43.09% -0.0928 0.0803)
OKLCHoklch(43.09% 0.123 139.1)
XYZxyz(5.0005, 8.6397, 1.9763)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265F12 #4B125F
analogous
#4D5F12 #265F12 #125F25
triadic
#265F12 #12265F #5F1226
tetradic
#265F12 #124D5F #4B125F #5F2512
square
#265F12 #124D5F #4B125F #5F2512
split-complementary
#265F12 #25125F #5F124D
monochromatic
#0A1A05 #112C08 #265F12 #3B921C #4FC625

Accessibility & contrast

On white

7.70
#265F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#265F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #265F12
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265F12#FFFFFF#000000##FFFFFF
##265F121.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#205C50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #265f12;
/* rgb */ color: rgb(38, 95, 18);
/* oklch */ color: oklch(43.1% 0.123 139.1);
Tailwind
colors: {
  custom: {
    50: '#688d56',
    500: '#265f12',
    950: '#000000',
  },
}
SCSS
$custom: #265f12;
$custom-light: #688d56;
$custom-dark: #000000;
JSON
{
  "hex": "#265f12",
  "rgb": {
    "r": 38,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 104.416,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.12273,
    "h": 139.1
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#265F12
secondary
#7E3697
accent
#3DEBBE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #265F12

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

Preview Lab → · Contrast checker → · Palette generator →

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