#264D12#264D12

#264D12 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.8% C 0.098 H 137.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#264D12
RGBrgb(38, 77, 18)
HSLhsl(100, 62%, 19%)
HSVhsv(100, 77%, 30%)
CMYKcmyk(50.6%, 0%, 76.6%, 69.8%)
CIE-LABlab(28.81, -25.81, 29.34)
CIE-LCHlch(28.81, 39.08, 131.33°)
OKLaboklab(37.76% -0.0715 0.0667)
OKLCHoklch(37.76% 0.098 137)
XYZxyz(3.5623, 5.7633, 1.4969)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264D12 #39124D
analogous
#434D12 #264D12 #124D1B
triadic
#264D12 #12264D #4D1226
tetradic
#264D12 #12434D #39124D #4D1B12
square
#264D12 #12434D #39124D #4D1B12
split-complementary
#264D12 #1B124D #4D1243
monochromatic
#0C1906 #0E1B06 #264D12 #3E7F1E #57B029

Accessibility & contrast

On white

9.76
#264D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#264D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264D12
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264D12#FFFFFF#000000##FFFFFF
##264D121.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4B4317
Tritanopia (blue-blind)
#244A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #264d12;
/* rgb */ color: rgb(38, 77, 18);
/* oklch */ color: oklch(37.8% 0.098 137.0);
Tailwind
colors: {
  custom: {
    50: '#657f54',
    500: '#264d12',
    950: '#000000',
  },
}
SCSS
$custom: #264d12;
$custom-light: #657f54;
$custom-dark: #000000;
JSON
{
  "hex": "#264d12",
  "rgb": {
    "r": 38,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 99.661,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37764,
    "c": 0.09781,
    "h": 137
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#264D12
secondary
#6A3586
accent
#43E5AE
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #264D12

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

Preview Lab → · Contrast checker → · Palette generator →

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