#262D04#262D04

#262D04 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.1% C 0.061 H 118.9°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#262D04
RGBrgb(38, 45, 4)
HSLhsl(70, 84%, 10%)
HSVhsv(70, 91%, 18%)
CMYKcmyk(15.6%, 0%, 91.1%, 82.4%)
CIE-LABlab(16.98, -9.87, 22.61)
CIE-LCHlch(16.98, 24.67, 113.58°)
OKLaboklab(28.09% -0.0296 0.0535)
OKLCHoklch(28.09% 0.061 118.9)
XYZxyz(1.7597, 2.2976, 0.4656)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D04 #0B042D
analogous
#2D2004 #262D04 #122D04
triadic
#262D04 #04262D #2D0426
tetradic
#262D04 #042D20 #0B042D #2D0412
square
#262D04 #042D20 #0B042D #2D0412
split-complementary
#262D04 #04122D #20042D
monochromatic
#181C02 #181C02 #262D04 #556509 #859D0E

Accessibility & contrast

On white

14.39
#262D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#262D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D04
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D04#FFFFFF#000000##FFFFFF
##262D041.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#302A07
Tritanopia (blue-blind)
#292A25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262d04;
/* rgb */ color: rgb(38, 45, 4);
/* oklch */ color: oklch(28.1% 0.061 118.9);
Tailwind
colors: {
  custom: {
    50: '#616549',
    500: '#262d04',
    950: '#000000',
  },
}
SCSS
$custom: #262d04;
$custom-light: #616549;
$custom-dark: #000000;
JSON
{
  "hex": "#262d04",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 70.244,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28092,
    "c": 0.06112,
    "h": 118.9
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#262D04
secondary
#2B1D70
accent
#2EFA51
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050501
muted
#797A77

Preview Lab

Preview with #262D04

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

Preview Lab → · Contrast checker → · Palette generator →

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