#264A12#264A12

#264A12 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 36.9% C 0.093 H 136.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#264A12
RGBrgb(38, 74, 18)
HSLhsl(99, 61%, 18%)
HSVhsv(99, 76%, 29%)
CMYKcmyk(48.6%, 0%, 75.7%, 71%)
CIE-LABlab(27.72, -24.39, 28.21)
CIE-LCHlch(27.72, 37.29, 130.85°)
OKLaboklab(36.87% -0.0677 0.0643)
OKLCHoklch(36.87% 0.093 136.4)
XYZxyz(3.3572, 5.3531, 1.4285)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264A12 #36124A
analogous
#424A12 #264A12 #124A1A
triadic
#264A12 #12264A #4A1226
tetradic
#264A12 #12424A #36124A #4A1A12
square
#264A12 #12424A #36124A #4A1A12
split-complementary
#264A12 #1A124A #4A1242
monochromatic
#0D1906 #0D1906 #264A12 #3F7B1E #59AC2A

Accessibility & contrast

On white

10.14
#264A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#264A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264A12
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264A12#FFFFFF#000000##FFFFFF
##264A121.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430A
Deuteranopia (green-blind)
#484017
Tritanopia (blue-blind)
#24473F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #264a12;
/* rgb */ color: rgb(38, 74, 18);
/* oklch */ color: oklch(36.9% 0.093 136.4);
Tailwind
colors: {
  custom: {
    50: '#647d53',
    500: '#264a12',
    950: '#000000',
  },
}
SCSS
$custom: #264a12;
$custom-light: #647d53;
$custom-dark: #000000;
JSON
{
  "hex": "#264a12",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 98.571,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3687,
    "c": 0.09337,
    "h": 136.4
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#264A12
secondary
#673583
accent
#44E4AB
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #264A12

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

Preview Lab → · Contrast checker → · Palette generator →

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