#262902#262902

#262902 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 26.9% C 0.058 H 114.0°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#262902
RGBrgb(38, 41, 2)
HSLhsl(65, 91%, 8%)
HSVhsv(65, 95%, 16%)
CMYKcmyk(7.3%, 0%, 95.1%, 83.9%)
CIE-LABlab(15.50, -7.54, 21.58)
CIE-LCHlch(15.50, 22.86, 109.27°)
OKLaboklab(26.9% -0.0235 0.0529)
OKLCHoklch(26.9% 0.058 114)
XYZxyz(1.6033, 2.0024, 0.3595)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262902 #050229
analogous
#291802 #262902 #122902
triadic
#262902 #022629 #290226
tetradic
#262902 #022918 #050229 #290212
square
#262902 #022918 #050229 #290212
split-complementary
#262902 #021229 #180229
monochromatic
#1B1D01 #1B1D01 #262902 #5C6305 #929E08

Accessibility & contrast

On white

15.00
#262902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#262902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262902
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262902#FFFFFF#000000##FFFFFF
##2629021.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2D2704
Tritanopia (blue-blind)
#292622
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #262902;
/* rgb */ color: rgb(38, 41, 2);
/* oklch */ color: oklch(26.9% 0.058 114.0);
Tailwind
colors: {
  custom: {
    50: '#616247',
    500: '#262902',
    950: '#000000',
  },
}
SCSS
$custom: #262902;
$custom-light: #616247;
$custom-dark: #000000;
JSON
{
  "hex": "#262902",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 64.615,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26897,
    "c": 0.05787,
    "h": 114
  },
  "luminance": 0.02002
}

Semantic roles & 50–950 ramp

primary
#262902
secondary
#1F196E
accent
#29FF39
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #262902

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

Preview Lab → · Contrast checker → · Palette generator →

#262902 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva