#262B0F#262B0F

#262B0F is a dark, muted yellow-green. Relative luminance 0.022; OKLCH L 27.7% C 0.046 H 117.9°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#262B0F
RGBrgb(38, 43, 15)
HSLhsl(71, 48%, 11%)
HSVhsv(71, 65%, 17%)
CMYKcmyk(11.6%, 0%, 65.1%, 83.1%)
CIE-LABlab(16.38, -7.54, 17.09)
CIE-LCHlch(16.38, 18.68, 113.80°)
OKLaboklab(27.65% -0.0215 0.0407)
OKLCHoklch(27.65% 0.046 117.9)
XYZxyz(1.7495, 2.1743, 0.7794)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B0F #140F2B
analogous
#2B220F #262B0F #182B0F
triadic
#262B0F #0F262B #2B0F26
tetradic
#262B0F #0F2B22 #140F2B #2B0F18
square
#262B0F #0F2B22 #140F2B #2B0F18
split-complementary
#262B0F #0F182B #220F2B
monochromatic
#141708 #141708 #262B0F #4E581F #76862F

Accessibility & contrast

On white

14.64
#262B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#262B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B0F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B0F#FFFFFF#000000##FFFFFF
##262B0F1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280C
Deuteranopia (green-blind)
#2E2911
Tritanopia (blue-blind)
#282825
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262b0f;
/* rgb */ color: rgb(38, 43, 15);
/* oklch */ color: oklch(27.7% 0.046 117.9);
Tailwind
colors: {
  custom: {
    50: '#61644e',
    500: '#262b0f',
    950: '#000000',
  },
}
SCSS
$custom: #262b0f;
$custom-light: #61644e;
$custom-dark: #000000;
JSON
{
  "hex": "#262b0f",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 15
  },
  "hsl": {
    "h": 70.714,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2765,
    "c": 0.04604,
    "h": 117.9
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#262B0F
secondary
#3B3264
accent
#50D868
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #262B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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