#261F02#261F02

#261F02 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 24.1% C 0.046 H 95.9°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#261F02
RGBrgb(38, 31, 2)
HSLhsl(48, 90%, 8%)
HSVhsv(48, 95%, 15%)
CMYKcmyk(0%, 18.4%, 94.7%, 85.1%)
CIE-LABlab(11.93, -0.82, 16.88)
CIE-LCHlch(11.93, 16.90, 92.79°)
OKLaboklab(24.06% -0.0048 0.0463)
OKLCHoklch(24.06% 0.047 95.9)
XYZxyz(1.3003, 1.3965, 0.2585)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F02 #020926
analogous
#260D02 #261F02 #1B2602
triadic
#261F02 #02261F #1F0226
tetradic
#261F02 #02260D #020926 #26021B
square
#261F02 #02260D #020926 #26021B
split-complementary
#261F02 #021B26 #0D0226
monochromatic
#1D1802 #1D1802 #261F02 #604E05 #9A7E08

Accessibility & contrast

On white

16.42
#261F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#261F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F02
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F02#FFFFFF#000000##FFFFFF
##261F021.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E00
Deuteranopia (green-blind)
#252003
Tritanopia (blue-blind)
#2A1C19
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #261f02;
/* rgb */ color: rgb(38, 31, 2);
/* oklch */ color: oklch(24.1% 0.046 95.9);
Tailwind
colors: {
  custom: {
    50: '#615a47',
    500: '#261f02',
    950: '#000000',
  },
}
SCSS
$custom: #261f02;
$custom-light: #615a47;
$custom-dark: #000000;
JSON
{
  "hex": "#261f02",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 2
  },
  "hsl": {
    "h": 48.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24055,
    "c": 0.0465,
    "h": 95.9
  },
  "luminance": 0.01396
}

Semantic roles & 50–950 ramp

primary
#261F02
secondary
#18296B
accent
#52FF29
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050300
muted
#797877

Preview Lab

Preview with #261F02

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

Preview Lab → · Contrast checker → · Palette generator →

#261F02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva