#262E02#262E02

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

Color values

HEX#262E02
RGBrgb(38, 46, 2)
HSLhsl(71, 92%, 9%)
HSVhsv(71, 96%, 18%)
CMYKcmyk(17.4%, 0%, 95.7%, 82%)
CIE-LABlab(17.32, -10.67, 23.85)
CIE-LCHlch(17.32, 26.13, 114.11°)
OKLaboklab(28.36% -0.0321 0.0562)
OKLCHoklch(28.36% 0.065 119.7)
XYZxyz(1.7873, 2.3705, 0.4208)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E02 #0A022E
analogous
#2E2002 #262E02 #102E02
triadic
#262E02 #02262E #2E0226
tetradic
#262E02 #022E20 #0A022E #2E0210
square
#262E02 #022E20 #0A022E #2E0210
split-complementary
#262E02 #02102E #20022E
monochromatic
#181D01 #181D01 #262E02 #566905 #87A307

Accessibility & contrast

On white

14.25
#262E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#262E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E02
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E02#FFFFFF#000000##FFFFFF
##262E021.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262e02;
/* rgb */ color: rgb(38, 46, 2);
/* oklch */ color: oklch(28.4% 0.065 119.7);
Tailwind
colors: {
  custom: {
    50: '#626648',
    500: '#262e02',
    950: '#000000',
  },
}
SCSS
$custom: #262e02;
$custom-light: #626648;
$custom-dark: #000000;
JSON
{
  "hex": "#262e02",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 70.909,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28363,
    "c": 0.06472,
    "h": 119.7
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#262E02
secondary
#291973
accent
#29FF50
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #262E02

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

Preview Lab → · Contrast checker → · Palette generator →

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