#264E0C#264E0C

#264E0C is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.0% C 0.103 H 136.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#264E0C
RGBrgb(38, 78, 12)
HSLhsl(96, 73%, 18%)
HSVhsv(96, 85%, 31%)
CMYKcmyk(51.3%, 0%, 84.6%, 69.4%)
CIE-LABlab(29.13, -26.75, 32.15)
CIE-LCHlch(29.13, 41.82, 129.76°)
OKLaboklab(38.01% -0.0745 0.0716)
OKLCHoklch(38.01% 0.103 136.1)
XYZxyz(3.5900, 5.8872, 1.2949)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264E0C #340C4E
analogous
#474E0C #264E0C #0C4E13
triadic
#264E0C #0C264E #4E0C26
tetradic
#264E0C #0C474E #340C4E #4E130C
square
#264E0C #0C474E #340C4E #4E130C
split-complementary
#264E0C #130C4E #4E0C47
monochromatic
#0D1B04 #0D1B04 #264E0C #408314 #5AB81C

Accessibility & contrast

On white

9.64
#264E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#264E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264E0C
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264E0C#FFFFFF#000000##FFFFFF
##264E0C1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#4C4313
Tritanopia (blue-blind)
#244B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #264e0c;
/* rgb */ color: rgb(38, 78, 12);
/* oklch */ color: oklch(38.0% 0.103 136.1);
Tailwind
colors: {
  custom: {
    50: '#658051',
    500: '#264e0c',
    950: '#000000',
  },
}
SCSS
$custom: #264e0c;
$custom-light: #658051;
$custom-dark: #000000;
JSON
{
  "hex": "#264e0c",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 96.364,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38011,
    "c": 0.10335,
    "h": 136.1
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#264E0C
secondary
#652C8A
accent
#38F0A7
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #264E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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