#264012#264012

#264012 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.078 H 133.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#264012
RGBrgb(38, 64, 18)
HSLhsl(94, 56%, 16%)
HSVhsv(94, 72%, 25%)
CMYKcmyk(40.6%, 0%, 71.9%, 74.9%)
CIE-LABlab(24.07, -19.38, 24.29)
CIE-LCHlch(24.07, 31.08, 128.58°)
OKLaboklab(33.89% -0.054 0.0561)
OKLCHoklch(33.89% 0.078 133.9)
XYZxyz(2.7419, 4.1224, 1.2234)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264012 #2C1240
analogous
#3D4012 #264012 #124015
triadic
#264012 #122640 #401226
tetradic
#264012 #123D40 #2C1240 #401512
square
#264012 #123D40 #2C1240 #401512
split-complementary
#264012 #151240 #40123D
monochromatic
#0E1807 #0E1807 #264012 #42701F #5FA02D

Accessibility & contrast

On white

11.51
#264012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#264012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264012
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264012#FFFFFF#000000##FFFFFF
##2640121.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0C
Deuteranopia (green-blind)
#3F3816
Tritanopia (blue-blind)
#263D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #264012;
/* rgb */ color: rgb(38, 64, 18);
/* oklch */ color: oklch(33.9% 0.078 133.9);
Tailwind
colors: {
  custom: {
    50: '#637552',
    500: '#264012',
    950: '#000000',
  },
}
SCSS
$custom: #264012;
$custom-light: #637552;
$custom-dark: #000000;
JSON
{
  "hex": "#264012",
  "rgb": {
    "r": 38,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 93.913,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33889,
    "c": 0.07789,
    "h": 133.9
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#264012
secondary
#5B3579
accent
#48DF9E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #264012

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

Preview Lab → · Contrast checker → · Palette generator →

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