#263A04#263A04

#263A04 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.080 H 128.6°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#263A04
RGBrgb(38, 58, 4)
HSLhsl(82, 87%, 12%)
HSVhsv(82, 93%, 23%)
CMYKcmyk(34.5%, 0%, 93.1%, 77.3%)
CIE-LABlab(21.75, -17.39, 28.10)
CIE-LCHlch(21.75, 33.05, 121.74°)
OKLaboklab(31.96% -0.05 0.0626)
OKLCHoklch(31.96% 0.08 128.6)
XYZxyz(2.3343, 3.4469, 0.6572)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A04 #18043A
analogous
#3A3304 #263A04 #0B3A04
triadic
#263A04 #04263A #3A0426
tetradic
#263A04 #043A33 #18043A #3A040B
square
#263A04 #043A33 #18043A #3A040B
split-complementary
#263A04 #040B3A #33043A
monochromatic
#131D02 #131D02 #263A04 #4C7308 #71AD0C

Accessibility & contrast

On white

12.43
#263A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #263A04
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A04#FFFFFF#000000##FFFFFF
##263A041.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3B3409
Tritanopia (blue-blind)
#283730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #263a04;
/* rgb */ color: rgb(38, 58, 4);
/* oklch */ color: oklch(32.0% 0.080 128.6);
Tailwind
colors: {
  custom: {
    50: '#63704a',
    500: '#263a04',
    950: '#000000',
  },
}
SCSS
$custom: #263a04;
$custom-light: #63704a;
$custom-dark: #000000;
JSON
{
  "hex": "#263a04",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 82.222,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.3196,
    "c": 0.0801,
    "h": 128.6
  },
  "luminance": 0.03447
}

Semantic roles & 50–950 ramp

primary
#263A04
secondary
#411E7C
accent
#2BFD79
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #263A04

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

Preview Lab → · Contrast checker → · Palette generator →

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