#262D08#262D08

#262D08 is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 28.1% C 0.057 H 119.4°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#262D08
RGBrgb(38, 45, 8)
HSLhsl(71, 70%, 10%)
HSVhsv(71, 82%, 18%)
CMYKcmyk(15.6%, 0%, 82.2%, 82.4%)
CIE-LABlab(17.02, -9.51, 21.03)
CIE-LCHlch(17.02, 23.08, 114.32°)
OKLaboklab(28.14% -0.028 0.0495)
OKLCHoklch(28.14% 0.057 119.4)
XYZxyz(1.7816, 2.3064, 0.5810)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D08 #0F082D
analogous
#2D2108 #262D08 #132D08
triadic
#262D08 #08262D #2D0826
tetradic
#262D08 #082D21 #0F082D #2D0813
square
#262D08 #082D21 #0F082D #2D0813
split-complementary
#262D08 #08132D #21082D
monochromatic
#161A05 #161A05 #262D08 #526111 #7E951A

Accessibility & contrast

On white

14.37
#262D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262D08
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D08#FFFFFF#000000##FFFFFF
##262D081.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A04
Deuteranopia (green-blind)
#302A0B
Tritanopia (blue-blind)
#292A26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262d08;
/* rgb */ color: rgb(38, 45, 8);
/* oklch */ color: oklch(28.1% 0.057 119.4);
Tailwind
colors: {
  custom: {
    50: '#61654b',
    500: '#262d08',
    950: '#000000',
  },
}
SCSS
$custom: #262d08;
$custom-light: #61654b;
$custom-dark: #000000;
JSON
{
  "hex": "#262d08",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 71.351,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28139,
    "c": 0.05689,
    "h": 119.4
  },
  "luminance": 0.02306
}

Semantic roles & 50–950 ramp

primary
#262D08
secondary
#32256C
accent
#3BED5D
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #262D08

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

Preview Lab → · Contrast checker → · Palette generator →

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