#264C12#264C12

#264C12 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.096 H 136.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#264C12
RGBrgb(38, 76, 18)
HSLhsl(99, 62%, 18%)
HSVhsv(99, 76%, 30%)
CMYKcmyk(50%, 0%, 76.3%, 70.2%)
CIE-LABlab(28.44, -25.34, 28.97)
CIE-LCHlch(28.44, 38.48, 131.18°)
OKLaboklab(37.47% -0.0703 0.0659)
OKLCHoklch(37.47% 0.096 136.8)
XYZxyz(3.4929, 5.6244, 1.4737)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264C12 #38124C
analogous
#434C12 #264C12 #124C1B
triadic
#264C12 #12264C #4C1226
tetradic
#264C12 #12434C #38124C #4C1B12
square
#264C12 #12434C #38124C #4C1B12
split-complementary
#264C12 #1B124C #4C1243
monochromatic
#0C1906 #0D1B06 #264C12 #3F7D1E #57AF29

Accessibility & contrast

On white

9.88
#264C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#264C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264C12
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264C12#FFFFFF#000000##FFFFFF
##264C121.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4509
Deuteranopia (green-blind)
#4A4217
Tritanopia (blue-blind)
#244940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #264c12;
/* rgb */ color: rgb(38, 76, 18);
/* oklch */ color: oklch(37.5% 0.096 136.8);
Tailwind
colors: {
  custom: {
    50: '#647e54',
    500: '#264c12',
    950: '#000000',
  },
}
SCSS
$custom: #264c12;
$custom-light: #647e54;
$custom-dark: #000000;
JSON
{
  "hex": "#264c12",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 99.31,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37466,
    "c": 0.09634,
    "h": 136.8
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#264C12
secondary
#693585
accent
#43E5AD
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #264C12

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

Preview Lab → · Contrast checker → · Palette generator →

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