#262E04#262E04

#262E04 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.4% C 0.063 H 120.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#262E04
RGBrgb(38, 46, 4)
HSLhsl(71, 84%, 10%)
HSVhsv(71, 91%, 18%)
CMYKcmyk(17.4%, 0%, 91.3%, 82%)
CIE-LABlab(17.34, -10.49, 23.06)
CIE-LCHlch(17.34, 25.33, 114.45°)
OKLaboklab(28.39% -0.0313 0.0542)
OKLCHoklch(28.39% 0.063 120)
XYZxyz(1.7983, 2.3748, 0.4785)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E04 #0C042E
analogous
#2E2104 #262E04 #112E04
triadic
#262E04 #04262E #2E0426
tetradic
#262E04 #042E21 #0C042E #2E0411
square
#262E04 #042E21 #0C042E #2E0411
split-complementary
#262E04 #04112E #21042E
monochromatic
#171C02 #171C02 #262E04 #556609 #839F0E

Accessibility & contrast

On white

14.24
#262E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#262E04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E04
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E04#FFFFFF#000000##FFFFFF
##262E041.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#312B07
Tritanopia (blue-blind)
#292B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262e04;
/* rgb */ color: rgb(38, 46, 4);
/* oklch */ color: oklch(28.4% 0.063 120.0);
Tailwind
colors: {
  custom: {
    50: '#616649',
    500: '#262e04',
    950: '#000000',
  },
}
SCSS
$custom: #262e04;
$custom-light: #616649;
$custom-dark: #000000;
JSON
{
  "hex": "#262e04",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 71.429,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28386,
    "c": 0.06256,
    "h": 120
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#262E04
secondary
#2D1D71
accent
#2EFA55
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #262E04

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

Preview Lab → · Contrast checker → · Palette generator →

#262E04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva