#264B0C#264B0C

#264B0C is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.1% C 0.099 H 135.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#264B0C
RGBrgb(38, 75, 12)
HSLhsl(95, 72%, 17%)
HSVhsv(95, 84%, 29%)
CMYKcmyk(49.3%, 0%, 84%, 70.6%)
CIE-LABlab(28.04, -25.36, 31.10)
CIE-LCHlch(28.04, 40.13, 129.19°)
OKLaboklab(37.12% -0.0708 0.0694)
OKLCHoklch(37.12% 0.099 135.6)
XYZxyz(3.3817, 5.4706, 1.2255)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264B0C #310C4B
analogous
#464B0C #264B0C #0C4B12
triadic
#264B0C #0C264B #4B0C26
tetradic
#264B0C #0C464B #310C4B #4B120C
square
#264B0C #0C464B #310C4B #4B120C
split-complementary
#264B0C #120C4B #4B0C46
monochromatic
#0D1A04 #0D1A04 #264B0C #418014 #5BB51D

Accessibility & contrast

On white

10.03
#264B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#264B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264B0C
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264B0C#FFFFFF#000000##FFFFFF
##264B0C1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4401
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#25483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #264b0c;
/* rgb */ color: rgb(38, 75, 12);
/* oklch */ color: oklch(37.1% 0.099 135.6);
Tailwind
colors: {
  custom: {
    50: '#657d50',
    500: '#264b0c',
    950: '#000000',
  },
}
SCSS
$custom: #264b0c;
$custom-light: #657d50;
$custom-dark: #000000;
JSON
{
  "hex": "#264b0c",
  "rgb": {
    "r": 38,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 95.238,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37116,
    "c": 0.09913,
    "h": 135.6
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#264B0C
secondary
#612C87
accent
#39EFA4
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #264B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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