#265F0C#265F0C

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

Color values

HEX#265F0C
RGBrgb(38, 95, 12)
HSLhsl(101, 78%, 21%)
HSVhsv(101, 87%, 37%)
CMYKcmyk(60%, 0%, 87.4%, 62.7%)
CIE-LABlab(35.25, -34.08, 37.88)
CIE-LCHlch(35.25, 50.95, 131.98°)
OKLaboklab(43.05% -0.0942 0.0836)
OKLCHoklch(43.05% 0.126 138.4)
XYZxyz(4.9577, 8.6226, 1.7508)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#265F0C #450C5F
analogous
#4F5F0C #265F0C #0C5F1B
triadic
#265F0C #0C265F #5F0C26
tetradic
#265F0C #0C4F5F #450C5F #5F1B0C
square
#265F0C #0C4F5F #450C5F #5F1B0C
split-complementary
#265F0C #1B0C5F #5F0C4F
monochromatic
#0B1B03 #102905 #265F0C #3C9513 #51CC1A

Accessibility & contrast

On white

7.71
#265F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#265F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #265F0C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##265F0C#FFFFFF#000000##FFFFFF
##265F0C1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#215B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #265f0c;
/* rgb */ color: rgb(38, 95, 12);
/* oklch */ color: oklch(43.1% 0.126 138.4);
Tailwind
colors: {
  custom: {
    50: '#688d54',
    500: '#265f0c',
    950: '#000000',
  },
}
SCSS
$custom: #265f0c;
$custom-light: #688d54;
$custom-dark: #000000;
JSON
{
  "hex": "#265f0c",
  "rgb": {
    "r": 38,
    "g": 95,
    "b": 12
  },
  "hsl": {
    "h": 101.205,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43054,
    "c": 0.12595,
    "h": 138.4
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#265F0C
secondary
#782D99
accent
#34F4B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #265F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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