#264C0D#264C0D

#264C0D is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.4% C 0.100 H 135.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#264C0D
RGBrgb(38, 76, 13)
HSLhsl(96, 71%, 17%)
HSVhsv(96, 83%, 30%)
CMYKcmyk(50%, 0%, 82.9%, 70.2%)
CIE-LABlab(28.41, -25.75, 31.07)
CIE-LCHlch(28.41, 40.36, 129.66°)
OKLaboklab(37.42% -0.0718 0.0695)
OKLCHoklch(37.42% 0.1 135.9)
XYZxyz(3.4563, 5.6098, 1.2814)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264C0D #330D4C
analogous
#464C0D #264C0D #0D4C13
triadic
#264C0D #0D264C #4C0D26
tetradic
#264C0D #0D464C #330D4C #4C130D
square
#264C0D #0D464C #330D4C #4C130D
split-complementary
#264C0D #130D4C #4C0D46
monochromatic
#0D1A04 #0D1A04 #264C0D #408016 #5AB51F

Accessibility & contrast

On white

9.90
#264C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#264C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264C0D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264C0D#FFFFFF#000000##FFFFFF
##264C0D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4502
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#254940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #264c0d;
/* rgb */ color: rgb(38, 76, 13);
/* oklch */ color: oklch(37.4% 0.100 135.9);
Tailwind
colors: {
  custom: {
    50: '#657e51',
    500: '#264c0d',
    950: '#000000',
  },
}
SCSS
$custom: #264c0d;
$custom-light: #657e51;
$custom-dark: #000000;
JSON
{
  "hex": "#264c0d",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 96.19,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37422,
    "c": 0.09992,
    "h": 135.9
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#264C0D
secondary
#642E87
accent
#3AEEA6
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #264C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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