#264C0B#264C0B

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

Color values

HEX#264C0B
RGBrgb(38, 76, 11)
HSLhsl(95, 75%, 17%)
HSVhsv(95, 86%, 30%)
CMYKcmyk(50%, 0%, 85.5%, 70.2%)
CIE-LABlab(28.39, -25.89, 31.82)
CIE-LCHlch(28.39, 41.03, 129.13°)
OKLaboklab(37.41% -0.0723 0.0707)
OKLCHoklch(37.41% 0.101 135.6)
XYZxyz(3.4441, 5.6049, 1.2169)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264C0B #310B4C
analogous
#474C0B #264C0B #0B4C11
triadic
#264C0B #0B264C #4C0B26
tetradic
#264C0B #0B474C #310B4C #4C110B
square
#264C0B #0B474C #310B4C #4C110B
split-complementary
#264C0B #110B4C #4C0B47
monochromatic
#0D1B04 #0D1B04 #264C0B #418113 #5BB71A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##264C0B#FFFFFF#000000##FFFFFF
##264C0B1.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)
#4F4500
Deuteranopia (green-blind)
#4A4212
Tritanopia (blue-blind)
#254940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #264c0b;
/* rgb */ color: rgb(38, 76, 11);
/* oklch */ color: oklch(37.4% 0.101 135.6);
Tailwind
colors: {
  custom: {
    50: '#657e50',
    500: '#264c0b',
    950: '#000000',
  },
}
SCSS
$custom: #264c0b;
$custom-light: #657e50;
$custom-dark: #000000;
JSON
{
  "hex": "#264c0b",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 95.077,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37407,
    "c": 0.10115,
    "h": 135.6
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#264C0B
secondary
#612B88
accent
#36F1A4
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #264C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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