#264704#264704

#264704 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.098 H 133.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#264704
RGBrgb(38, 71, 4)
HSLhsl(90, 89%, 15%)
HSVhsv(90, 94%, 28%)
CMYKcmyk(46.5%, 0%, 94.4%, 72.2%)
CIE-LABlab(26.53, -23.99, 32.81)
CIE-LCHlch(26.53, 40.64, 126.18°)
OKLaboklab(35.86% -0.0677 0.0714)
OKLCHoklch(35.86% 0.098 133.5)
XYZxyz(3.0744, 4.9271, 0.9039)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264704 #250447
analogous
#474704 #264704 #054704
triadic
#264704 #042647 #470426
tetradic
#264704 #044747 #250447 #470405
square
#264704 #044747 #250447 #470405
split-complementary
#264704 #040547 #470447
monochromatic
#101D02 #101D02 #264704 #458107 #64BB0B

Accessibility & contrast

On white

10.58
#264704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#264704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264704
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264704#FFFFFF#000000##FFFFFF
##2647041.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0C
Tritanopia (blue-blind)
#26443B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #264704;
/* rgb */ color: rgb(38, 71, 4);
/* oklch */ color: oklch(35.9% 0.098 133.5);
Tailwind
colors: {
  custom: {
    50: '#657a4c',
    500: '#264704',
    950: '#000000',
  },
}
SCSS
$custom: #264704;
$custom-light: #657a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#264704",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 4
  },
  "hsl": {
    "h": 89.552,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35862,
    "c": 0.09842,
    "h": 133.5
  },
  "luminance": 0.04927
}

Semantic roles & 50–950 ramp

primary
#264704
secondary
#531F88
accent
#29FF92
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #264704

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

Preview Lab → · Contrast checker → · Palette generator →

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