#264017#264017

#264017 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.073 H 135.5°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#264017
RGBrgb(38, 64, 23)
HSLhsl(98, 47%, 17%)
HSVhsv(98, 64%, 25%)
CMYKcmyk(40.6%, 0%, 64.1%, 74.9%)
CIE-LABlab(24.13, -18.79, 21.65)
CIE-LCHlch(24.13, 28.66, 130.96°)
OKLaboklab(33.96% -0.052 0.051)
OKLCHoklch(33.96% 0.073 135.5)
XYZxyz(2.7873, 4.1406, 1.4628)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264017 #311740
analogous
#3B4017 #264017 #17401D
triadic
#264017 #172640 #401726
tetradic
#264017 #173B40 #311740 #401D17
square
#264017 #173B40 #311740 #401D17
split-complementary
#264017 #1D1740 #40173B
monochromatic
#0D1708 #0D1708 #264017 #416D27 #5B9A37

Accessibility & contrast

On white

11.49
#264017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#264017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264017
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264017#FFFFFF#000000##FFFFFF
##2640171.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B13
Deuteranopia (green-blind)
#3F391A
Tritanopia (blue-blind)
#253E37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #264017;
/* rgb */ color: rgb(38, 64, 23);
/* oklch */ color: oklch(34.0% 0.073 135.5);
Tailwind
colors: {
  custom: {
    50: '#627555',
    500: '#264017',
    950: '#000000',
  },
}
SCSS
$custom: #264017;
$custom-light: #627555;
$custom-dark: #000000;
JSON
{
  "hex": "#264017",
  "rgb": {
    "r": 38,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 98.049,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.33956,
    "c": 0.07285,
    "h": 135.5
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#264017
secondary
#613C77
accent
#51D7A6
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050803
muted
#797B78

Preview Lab

Preview with #264017

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

Preview Lab → · Contrast checker → · Palette generator →

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