#264D0F#264D0F

#264D0F is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.7% C 0.100 H 136.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#264D0F
RGBrgb(38, 77, 15)
HSLhsl(98, 67%, 18%)
HSVhsv(98, 81%, 30%)
CMYKcmyk(50.6%, 0%, 80.5%, 69.8%)
CIE-LABlab(28.78, -26.07, 30.63)
CIE-LCHlch(28.78, 40.22, 130.40°)
OKLaboklab(37.74% -0.0725 0.0689)
OKLCHoklch(37.74% 0.1 136.4)
XYZxyz(3.5393, 5.7541, 1.3760)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264D0F #360F4D
analogous
#454D0F #264D0F #0F4D17
triadic
#264D0F #0F264D #4D0F26
tetradic
#264D0F #0F454D #360F4D #4D170F
square
#264D0F #0F454D #360F4D #4D170F
split-complementary
#264D0F #170F4D #4D0F45
monochromatic
#0D1A05 #0D1A05 #264D0F #3F8019 #59B323

Accessibility & contrast

On white

9.76
#264D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#264D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264D0F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264D0F#FFFFFF#000000##FFFFFF
##264D0F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504605
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#244A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #264d0f;
/* rgb */ color: rgb(38, 77, 15);
/* oklch */ color: oklch(37.7% 0.100 136.4);
Tailwind
colors: {
  custom: {
    50: '#657f52',
    500: '#264d0f',
    950: '#000000',
  },
}
SCSS
$custom: #264d0f;
$custom-light: #657f52;
$custom-dark: #000000;
JSON
{
  "hex": "#264d0f",
  "rgb": {
    "r": 38,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 97.742,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37736,
    "c": 0.10001,
    "h": 136.4
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#264D0F
secondary
#673187
accent
#3EEAAA
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #264D0F

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

Preview Lab → · Contrast checker → · Palette generator →

#264D0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva