#264104#264104

#264104 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.090 H 131.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#264104
RGBrgb(38, 65, 4)
HSLhsl(87, 88%, 14%)
HSVhsv(87, 94%, 25%)
CMYKcmyk(41.5%, 0%, 93.8%, 74.5%)
CIE-LABlab(24.33, -21.04, 30.74)
CIE-LCHlch(24.33, 37.25, 124.39°)
OKLaboklab(34.06% -0.0598 0.0673)
OKLCHoklch(34.06% 0.09 131.6)
XYZxyz(2.7115, 4.2013, 0.7829)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264104 #1F0441
analogous
#413D04 #264104 #084104
triadic
#264104 #042641 #410426
tetradic
#264104 #04413D #1F0441 #410408
square
#264104 #04413D #1F0441 #410408
split-complementary
#264104 #040841 #3D0441
monochromatic
#111D02 #111D02 #264104 #487B08 #69B40B

Accessibility & contrast

On white

11.41
#264104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#264104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264104
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264104#FFFFFF#000000##FFFFFF
##2641041.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#41390B
Tritanopia (blue-blind)
#273E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #264104;
/* rgb */ color: rgb(38, 65, 4);
/* oklch */ color: oklch(34.1% 0.090 131.6);
Tailwind
colors: {
  custom: {
    50: '#64764b',
    500: '#264104',
    950: '#000000',
  },
}
SCSS
$custom: #264104;
$custom-light: #64764b;
$custom-dark: #000000;
JSON
{
  "hex": "#264104",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 86.557,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.3406,
    "c": 0.09009,
    "h": 131.6
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#264104
secondary
#4B1F82
accent
#29FF88
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #264104

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

Preview Lab → · Contrast checker → · Palette generator →

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