#263A0C#263A0C

#263A0C is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.0% C 0.074 H 130.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#263A0C
RGBrgb(38, 58, 12)
HSLhsl(86, 66%, 14%)
HSVhsv(86, 79%, 23%)
CMYKcmyk(34.5%, 0%, 79.3%, 77.3%)
CIE-LABlab(21.82, -16.75, 24.87)
CIE-LCHlch(21.82, 29.98, 123.96°)
OKLaboklab(32.03% -0.0474 0.0564)
OKLCHoklch(32.03% 0.074 130.1)
XYZxyz(2.3787, 3.4647, 0.8912)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A0C #200C3A
analogous
#3A370C #263A0C #0F3A0C
triadic
#263A0C #0C263A #3A0C26
tetradic
#263A0C #0C3A37 #200C3A #3A0C0F
square
#263A0C #0C3A37 #200C3A #3A0C0F
split-complementary
#263A0C #0C0F3A #370C3A
monochromatic
#111905 #111905 #263A0C #476D16 #689F21

Accessibility & contrast

On white

12.40
#263A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#263A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263A0C
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A0C#FFFFFF#000000##FFFFFF
##263A0C1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3506
Deuteranopia (green-blind)
#3A3410
Tritanopia (blue-blind)
#273731
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #263a0c;
/* rgb */ color: rgb(38, 58, 12);
/* oklch */ color: oklch(32.0% 0.074 130.1);
Tailwind
colors: {
  custom: {
    50: '#62704e',
    500: '#263a0c',
    950: '#000000',
  },
}
SCSS
$custom: #263a0c;
$custom-light: #62704e;
$custom-dark: #000000;
JSON
{
  "hex": "#263a0c",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 86.087,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32033,
    "c": 0.07371,
    "h": 130.1
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#263A0C
secondary
#4C2C76
accent
#3FE989
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #263A0C

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

Preview Lab → · Contrast checker → · Palette generator →

#263A0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva