#262D0F#262D0F

#262D0F is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 28.2% C 0.049 H 120.6°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#262D0F
RGBrgb(38, 45, 15)
HSLhsl(74, 50%, 12%)
HSVhsv(74, 67%, 18%)
CMYKcmyk(15.6%, 0%, 66.7%, 82.4%)
CIE-LABlab(17.10, -8.81, 17.98)
CIE-LCHlch(17.10, 20.02, 116.10°)
OKLaboklab(28.23% -0.0251 0.0425)
OKLCHoklch(28.23% 0.049 120.6)
XYZxyz(1.8240, 2.3233, 0.8042)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D0F #160F2D
analogous
#2D250F #262D0F #172D0F
triadic
#262D0F #0F262D #2D0F26
tetradic
#262D0F #0F2D25 #160F2D #2D0F17
square
#262D0F #0F2D25 #160F2D #2D0F17
split-complementary
#262D0F #0F172D #250F2D
monochromatic
#131708 #131708 #262D0F #4D5B1E #74892E

Accessibility & contrast

On white

14.34
#262D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262D0F
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D0F#FFFFFF#000000##FFFFFF
##262D0F1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#2F2A11
Tritanopia (blue-blind)
#282A26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262d0f;
/* rgb */ color: rgb(38, 45, 15);
/* oklch */ color: oklch(28.2% 0.049 120.6);
Tailwind
colors: {
  custom: {
    50: '#61654e',
    500: '#262d0f',
    950: '#000000',
  },
}
SCSS
$custom: #262d0f;
$custom-light: #61654e;
$custom-dark: #000000;
JSON
{
  "hex": "#262d0f",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 15
  },
  "hsl": {
    "h": 74,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2823,
    "c": 0.04937,
    "h": 120.6
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#262D0F
secondary
#3E3166
accent
#4EDA6F
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #262D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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