#264C0F#264C0F

#264C0F is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.4% C 0.099 H 136.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#264C0F
RGBrgb(38, 76, 15)
HSLhsl(97, 67%, 18%)
HSVhsv(97, 80%, 30%)
CMYKcmyk(50%, 0%, 80.3%, 70.2%)
CIE-LABlab(28.42, -25.60, 30.26)
CIE-LCHlch(28.42, 39.64, 130.23°)
OKLaboklab(37.44% -0.0712 0.0682)
OKLCHoklch(37.44% 0.099 136.2)
XYZxyz(3.4699, 5.6152, 1.3529)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264C0F #350F4C
analogous
#444C0F #264C0F #0F4C16
triadic
#264C0F #0F264C #4C0F26
tetradic
#264C0F #0F444C #350F4C #4C160F
square
#264C0F #0F444C #350F4C #4C160F
split-complementary
#264C0F #160F4C #4C0F44
monochromatic
#0D1A05 #0D1A05 #264C0F #407F19 #59B223

Accessibility & contrast

On white

9.89
#264C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#264C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264C0F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264C0F#FFFFFF#000000##FFFFFF
##264C0F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#244940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #264c0f;
/* rgb */ color: rgb(38, 76, 15);
/* oklch */ color: oklch(37.4% 0.099 136.2);
Tailwind
colors: {
  custom: {
    50: '#657e52',
    500: '#264c0f',
    950: '#000000',
  },
}
SCSS
$custom: #264c0f;
$custom-light: #657e52;
$custom-dark: #000000;
JSON
{
  "hex": "#264c0f",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 97.377,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37438,
    "c": 0.09857,
    "h": 136.2
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#264C0F
secondary
#663186
accent
#3EEAA9
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #264C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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