#262B08#262B08

#262B08 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.6% C 0.054 H 117.0°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#262B08
RGBrgb(38, 43, 8)
HSLhsl(69, 69%, 10%)
HSVhsv(69, 81%, 17%)
CMYKcmyk(11.6%, 0%, 81.4%, 83.1%)
CIE-LABlab(16.29, -8.25, 20.13)
CIE-LCHlch(16.29, 21.76, 112.28°)
OKLaboklab(27.56% -0.0245 0.048)
OKLCHoklch(27.56% 0.054 117)
XYZxyz(1.7071, 2.1574, 0.5562)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B08 #0D082B
analogous
#2B1E08 #262B08 #152B08
triadic
#262B08 #08262B #2B0826
tetradic
#262B08 #082B1E #0D082B #2B0815
square
#262B08 #082B1E #0D082B #2B0815
split-complementary
#262B08 #08152B #1E082B
monochromatic
#171A05 #171A05 #262B08 #545F12 #81921B

Accessibility & contrast

On white

14.67
#262B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262B08
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B08#FFFFFF#000000##FFFFFF
##262B081.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2804
Deuteranopia (green-blind)
#2E290A
Tritanopia (blue-blind)
#292824
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #262b08;
/* rgb */ color: rgb(38, 43, 8);
/* oklch */ color: oklch(27.6% 0.054 117.0);
Tailwind
colors: {
  custom: {
    50: '#61644a',
    500: '#262b08',
    950: '#000000',
  },
}
SCSS
$custom: #262b08;
$custom-light: #61644a;
$custom-dark: #000000;
JSON
{
  "hex": "#262b08",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 8
  },
  "hsl": {
    "h": 68.571,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.27555,
    "c": 0.05385,
    "h": 117
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#262B08
secondary
#2F256A
accent
#3CEB55
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #262B08

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

Preview Lab → · Contrast checker → · Palette generator →

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