#264512#264512

#264512 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.086 H 135.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#264512
RGBrgb(38, 69, 18)
HSLhsl(96, 59%, 17%)
HSVhsv(96, 74%, 27%)
CMYKcmyk(44.9%, 0%, 73.9%, 72.9%)
CIE-LABlab(25.90, -21.94, 26.27)
CIE-LCHlch(25.90, 34.23, 129.86°)
OKLaboklab(35.38% -0.061 0.0603)
OKLCHoklch(35.38% 0.086 135.4)
XYZxyz(3.0366, 4.7118, 1.3216)
Luminance0.0471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264512 #311245
analogous
#404512 #264512 #124518
triadic
#264512 #122645 #451226
tetradic
#264512 #124045 #311245 #451812
square
#264512 #124045 #311245 #451812
split-complementary
#264512 #181245 #451240
monochromatic
#0D1806 #0D1806 #264512 #41761F #5BA62B

Accessibility & contrast

On white

10.81
#264512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#264512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264512
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264512#FFFFFF#000000##FFFFFF
##2645121.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0B
Deuteranopia (green-blind)
#433C16
Tritanopia (blue-blind)
#25423B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #264512;
/* rgb */ color: rgb(38, 69, 18);
/* oklch */ color: oklch(35.4% 0.086 135.4);
Tailwind
colors: {
  custom: {
    50: '#637953',
    500: '#264512',
    950: '#000000',
  },
}
SCSS
$custom: #264512;
$custom-light: #637953;
$custom-dark: #000000;
JSON
{
  "hex": "#264512",
  "rgb": {
    "r": 38,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 96.471,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3538,
    "c": 0.08577,
    "h": 135.4
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#264512
secondary
#61357E
accent
#46E2A5
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #264512

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

Preview Lab → · Contrast checker → · Palette generator →

#264512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva